Re: [PATCHv2 2/5] pci: make pci_destroy_dev concurrent safe

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 03 Oct 2024, Keith Busch wrote:

On Thu, Oct 03, 2024 at 10:04:16AM -0700, Davidlohr Bueso wrote:
Well the thing is it is crashing on me, as reported. I was able to reproduce
the deadlock with rescan_remove_lock on a switched CXL topology (via sysfs
remove/rescan parent/child). This is why I tested your full pci-bus-locking-2024-09-09
branch hoping the last patch would fix it, but still cannot confirm because
of that nil ptr deref.

You might need something different than anything in that series if you
are doing concurrent sysfs access during removal. This is what I wrote
up for that issue:

The crash is *only* happening in your branch. The test runs into a deadlock
on a vanilla kernel.


 https://lore.kernel.org/linux-pci/20240719185513.3376321-1-kbusch@xxxxxxxx/T/#u

This does not address either, fyi.




[Index of Archives]     [DMA Engine]     [Linux Coverity]     [Linux USB]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Greybus]

  Powered by Linux