From: Jesse Barnes <jbarnes@virtuousgeek.org>
To: Alex Chiang <achiang@hp.com>
Cc: Matthew Wilcox <matthew@wil.cx>, "Zhao, Yu" <yu.zhao@intel.com>,
Greg KH <gregkh@suse.de>,
linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] PCI Hotplug: fakephp: fix deadlock... again
Date: Mon, 8 Sep 2008 21:12:29 -0700 [thread overview]
Message-ID: <200809082112.30457.jbarnes@virtuousgeek.org> (raw)
In-Reply-To: <20080902001905.GB14492@ldl.fc.hp.com>
On Monday, September 01, 2008 5:19 pm Alex Chiang wrote:
> * Matthew Wilcox <matthew@wil.cx>:
> > On Mon, Sep 01, 2008 at 12:40:18PM -0600, Alex Chiang wrote:
> > > We get the "slot already scheduled for removal" because that
> > > particular device has 2 functions, and we're creating slots
> > > on a per-slot basis now, not a per-function basis.
> > >
> > > Although, I wonder, Willy -- is that really the right thing
> > > to do? Seems like fakephp would be more useful if we did
> > > operate on a per-function basis, and not per-slot. Especially
> > > given Yu's work with SR-IOV, where we can apparently have
> > > lots of functions per a physical device.
> >
> > I suspect it depends on what you believe the point of fakephp
> > is.
>
> Ok, this was all developed before I started working in this area,
> or Linux, even. ;)
>
> > My assumption was that it was a way to fake what would happen
> > if you had a hotplug controller for a particular slot. In that
> > context, the change I made was clearly correct. If you want to
> > use it for hot-removing individual functions from a Linux guest
> > running under a hypervisor (for example), that's much less
> > useful.
>
> Sure, that sounds reasonable.
>
> In that case, my patch should fix the stupid regression I
> introduced, but if others think that fakephp would be more useful
> for hot-removing functions, I wouldn't object to reverting the
> original patch.
I don't have a preference here; whatever is most useful for people is probably
what we should go for. Zhao?
Thanks,
Jesse
next prev parent reply other threads:[~2008-09-09 4:15 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-08-21 20:19 refcount leak in pci_get_device()? Alex Chiang
2008-08-21 20:25 ` Matthew Wilcox
2008-08-21 20:47 ` Greg KH
2008-08-21 22:14 ` Alex Chiang
2008-08-30 4:23 ` Zhao, Yu
2008-08-30 5:37 ` Greg KH
2008-08-30 6:20 ` Zhao, Yu
2008-08-31 3:14 ` problems in fakephp (was RE: refcount leak in pci_get_device()?) Zhao, Yu
2008-09-01 18:40 ` [PATCH] PCI Hotplug: fakephp: fix deadlock... again Alex Chiang
2008-09-02 0:10 ` Matthew Wilcox
2008-09-02 0:19 ` Alex Chiang
2008-09-09 4:12 ` Jesse Barnes [this message]
2008-09-09 4:27 ` Matthew Wilcox
2008-09-09 5:32 ` Andrew Patterson
2008-09-04 15:03 ` Zhao, Yu
2008-08-21 22:23 ` refcount leak in pci_get_device()? Jesse Barnes
2008-08-22 1:04 ` Henrique de Moraes Holschuh
2008-08-22 1:09 ` Henrique de Moraes Holschuh
2008-08-21 20:40 ` Greg KH
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200809082112.30457.jbarnes@virtuousgeek.org \
--to=jbarnes@virtuousgeek.org \
--cc=achiang@hp.com \
--cc=gregkh@suse.de \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pci@vger.kernel.org \
--cc=matthew@wil.cx \
--cc=yu.zhao@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®