[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAE9FiQWv-bN2XzHiQ0WU+Y678zcqs_Owua6vXXijdMO6=0OWpg@mail.gmail.com>
Date: Fri, 26 Apr 2013 14:01:41 -0700
From: Yinghai Lu <yinghai@...nel.org>
To: Bjorn Helgaas <bhelgaas@...gle.com>
Cc: Gu Zheng <guz.fnst@...fujitsu.com>,
"linux-pci@...r.kernel.org" <linux-pci@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] PCI: Fix racing for pci device removing via sysfs
On Fri, Apr 26, 2013 at 1:53 PM, Bjorn Helgaas <bhelgaas@...gle.com> wrote:
>
> You can't be serious. This is a disgusting mess. Checking a list
> pointer for LIST_POISON1? As far as I'm concerned, this is a waste of
> my time.
Well, then need to hold the bus ref, and check bus->devices list instead.
Download attachment "fix_racing_removing_3.patch" of type "application/octet-stream" (3830 bytes)
Powered by blists - more mailing lists