Re: [PATCH(v3) 2.6.24] Fix fakephp deadlock

2008-01-28 Thread Ian Abbott
On 27/01/08 06:01, Andrew Morton wrote: Adding a deferred-work like this just because we can't get the locking and refcounting correct is a really sad hack. True, but some would argue that the fakephp driver itself was a really sad hack. :-) Can we get the locking and refcounting right

Re: [PATCH(v3) 2.6.24] Fix fakephp deadlock

2008-01-28 Thread Ian Abbott
On 27/01/08 06:01, Andrew Morton wrote: Adding a deferred-work like this just because we can't get the locking and refcounting correct is a really sad hack. True, but some would argue that the fakephp driver itself was a really sad hack. :-) Can we get the locking and refcounting right

Re: [PATCH(v3) 2.6.24] Fix fakephp deadlock

2008-01-26 Thread Andrew Morton
> On Fri, 25 Jan 2008 16:23:56 + Ian Abbott <[EMAIL PROTECTED]> wrote: > From: Ian Abbott <[EMAIL PROTECTED]> > > If the fakephp driver is used to emulate removal of a PCI device by > writing text string "0" to the "power" sysfs attribute file, this causes > its parent directory and its

Re: [PATCH(v3) 2.6.24] Fix fakephp deadlock

2008-01-26 Thread Andrew Morton
On Fri, 25 Jan 2008 16:23:56 + Ian Abbott [EMAIL PROTECTED] wrote: From: Ian Abbott [EMAIL PROTECTED] If the fakephp driver is used to emulate removal of a PCI device by writing text string 0 to the power sysfs attribute file, this causes its parent directory and its contents (including

[PATCH(v3) 2.6.24] Fix fakephp deadlock

2008-01-25 Thread Ian Abbott
From: Ian Abbott <[EMAIL PROTECTED]> This is the third version of my patch to fix the problem of a process deadlocking itself when it uses the fakephp driver to fake the removal of a PCI device. This section describes the changes since the first version of the patch. Skip to the next section

[PATCH(v3) 2.6.24] Fix fakephp deadlock

2008-01-25 Thread Ian Abbott
From: Ian Abbott [EMAIL PROTECTED] This is the third version of my patch to fix the problem of a process deadlocking itself when it uses the fakephp driver to fake the removal of a PCI device. This section describes the changes since the first version of the patch. Skip to the next section