Re: [PATCH 4/7] PCI: Fix racing for pci device removing via sysfs

2013-05-16 Thread Gu Zheng
Hi Yinghai, It works well. Thanks! Gu On 05/14/2013 10:28 AM, Yinghai Lu wrote: > Gu found nested removing through > echo -n 1 > /sys/bus/pci/devices/\:10\:00.0/remove ; echo -n 1 > > /sys/bus/pci/devices/\:1a\:01.0/remove > > will cause kernel crash as bus get freed. > > [

Re: [PATCH 4/7] PCI: Fix racing for pci device removing via sysfs

2013-05-16 Thread Gu Zheng
Hi Yinghai, It works well. Thanks! Gu On 05/14/2013 10:28 AM, Yinghai Lu wrote: Gu found nested removing through echo -n 1 /sys/bus/pci/devices/\:10\:00.0/remove ; echo -n 1 /sys/bus/pci/devices/\:1a\:01.0/remove will cause kernel crash as bus get freed. [

[PATCH 4/7] PCI: Fix racing for pci device removing via sysfs

2013-05-13 Thread Yinghai Lu
Gu found nested removing through echo -n 1 > /sys/bus/pci/devices/\:10\:00.0/remove ; echo -n 1 > /sys/bus/pci/devices/\:1a\:01.0/remove will cause kernel crash as bus get freed. [ 418.946462] CPU 4 [ 418.968377] Pid: 512, comm: kworker/u:2 Tainted: GW3.8.0 #2

[PATCH 4/7] PCI: Fix racing for pci device removing via sysfs

2013-05-13 Thread Yinghai Lu
Gu found nested removing through echo -n 1 /sys/bus/pci/devices/\:10\:00.0/remove ; echo -n 1 /sys/bus/pci/devices/\:1a\:01.0/remove will cause kernel crash as bus get freed. [ 418.946462] CPU 4 [ 418.968377] Pid: 512, comm: kworker/u:2 Tainted: GW3.8.0 #2