From: Greg KH <greg@kroah.com>
To: Alan Stern <stern@rowland.harvard.edu>
Cc: Kernel development list <linux-kernel@vger.kernel.org>
Subject: Re: Question about (or bug in?) the kobject implementation
Date: Fri, 27 Feb 2004 12:17:44 -0800 [thread overview]
Message-ID: <20040227201744.GA11291@kroah.com> (raw)
In-Reply-To: <Pine.LNX.4.44L0.0402271457530.1225-100000@ida.rowland.org>
On Fri, Feb 27, 2004 at 03:06:32PM -0500, Alan Stern wrote:
> On Fri, 27 Feb 2004, Greg KH wrote:
> > Seriously, once kobject_del() is called, you can't safely call
> > kobject_get() anymore on that object.
>
> Are you worried about the possibility of the refcount dropping to 0 and
> the cleanup starting but then kobject_get() increasing the refcount again?
Exactly, that is where the problem could happen.
thanks,
greg k-h
next prev parent reply other threads:[~2004-02-27 20:20 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-02-25 15:05 Question about (or bug in?) the kobject implementation Alan Stern
2004-02-27 19:48 ` Greg KH
2004-02-27 20:06 ` Alan Stern
2004-02-27 20:17 ` Greg KH [this message]
-- strict thread matches above, loose matches on Subject: below --
2004-02-28 4:02 Alan Stern
2004-02-28 7:38 ` Michael Frank
2004-02-28 17:09 ` Alan Stern
2004-03-03 21:44 ` Greg KH
2004-03-03 22:11 ` Alan Stern
2004-03-03 22:16 ` 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=20040227201744.GA11291@kroah.com \
--to=greg@kroah.com \
--cc=linux-kernel@vger.kernel.org \
--cc=stern@rowland.harvard.edu \
/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