From: viro@parcelfarce.linux.theplanet.co.uk
To: Martin Schwidefsky <schwidefsky@de.ibm.com>
Cc: Christoph Hellwig <hch@infradead.org>,
linux-kernel@vger.kernel.org, torvalds@osdl.org
Subject: Re: [PATCH] s390 (2/7): common i/o layer.
Date: Mon, 6 Oct 2003 16:46:05 +0100 [thread overview]
Message-ID: <20031006154605.GQ7665@parcelfarce.linux.theplanet.co.uk> (raw)
In-Reply-To: <OFD63B1783.24148268-ONC1256DB7.005358E7-C1256DB7.0055CAB5@de.ibm.com>
On Mon, Oct 06, 2003 at 05:37:04PM +0200, Martin Schwidefsky wrote:
>
> > You can still have a reference to the object when the module is unloaded.
> >
> > unregistered != last reference is gone
>
> Hmpf, I think I see the problem now. We'd need to wait in the module
> exit function until the release function for the root device has been
> called. Can't say I like it but it's probably the easiest way out.
That's a trivial deadlock. You _can't_ do that sysfs. Static kobject in
a module is a bug. Period.
next prev parent reply other threads:[~2003-10-06 15:46 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-10-06 15:37 [PATCH] s390 (2/7): common i/o layer Martin Schwidefsky
2003-10-06 15:46 ` viro [this message]
-- strict thread matches above, loose matches on Subject: below --
2003-10-06 15:59 Martin Schwidefsky
2003-10-06 14:49 Martin Schwidefsky
2003-10-06 14:55 ` Christoph Hellwig
2003-10-06 14:40 Martin Schwidefsky
2003-10-06 14:44 ` Christoph Hellwig
2003-10-06 9:24 Martin Schwidefsky
2003-10-06 14:01 ` Christoph Hellwig
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=20031006154605.GQ7665@parcelfarce.linux.theplanet.co.uk \
--to=viro@parcelfarce.linux.theplanet.co.uk \
--cc=hch@infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=schwidefsky@de.ibm.com \
--cc=torvalds@osdl.org \
/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