From: Bernd Eckenfels <ecki@calista.eckenfels.6bone.ka-ip.net>
To: linux-kernel@vger.kernel.org
Subject: Re: [PATCH] Remove module reference counting.
Date: Sat, 26 Jul 2003 01:37:03 +0200 [thread overview]
Message-ID: <E19gC7T-0001Sa-00@calista.inka.de> (raw)
In-Reply-To: <1059172995.16255.6.camel@sherbert>
In article <1059172995.16255.6.camel@sherbert> you wrote:
> 1. ->cleanup() - unregister IRQ handlers, timers, etc.
...
> surely if nothing is registered and all CPUs do a voluntary schedule()
> then there can be no chance of calling back in to the module.
no, because data structures might contain pointers, especially in handles.
So unregistering will avoid new handlers to jump into the code, but it will
not avoid that existing objets (i.e. open handles) exist. And exactly for
those the refcounting is used.
Greetings
Bernd
--
eckes privat - http://www.eckes.org/
Project Freefire - http://www.freefire.org/
next prev parent reply other threads:[~2003-07-25 23:21 UTC|newest]
Thread overview: 34+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-07-24 18:00 Rusty Russell
2003-07-25 17:47 ` David S. Miller
2003-07-27 18:50 ` Rusty Russell
2003-07-25 17:54 ` Greg KH
2003-07-25 19:11 ` Greg KH
2003-07-25 19:26 ` Stephen Hemminger
2003-07-25 19:32 ` Greg KH
2003-07-25 22:26 ` Rusty Russell
2003-07-26 19:31 ` Linus Torvalds
2003-07-26 19:37 ` Arjan van de Ven
2003-07-27 5:38 ` Aschwin Marsman
2003-07-27 11:10 ` Alan Cox
2003-07-27 11:09 ` Alan Cox
2003-07-27 19:34 ` Rusty Russell
2003-07-27 21:47 ` Arjan van de Ven
2003-07-28 0:01 ` Alan Cox
2003-07-28 0:12 ` Bill Nottingham
2003-07-28 11:38 ` Alan Cox
2003-07-29 20:33 ` Rusty Russell
2003-07-30 1:55 ` Greg KH
2003-07-30 14:40 ` Alan Cox
2003-07-28 11:40 ` Alan Cox
2003-07-28 18:11 ` Gianni Tedesco
2003-07-28 19:03 ` Mike Fedyk
2003-08-01 2:39 ` Linus Torvalds
2003-07-25 23:24 ` Alan Cox
2003-07-27 18:48 ` Rusty Russell
2003-07-25 22:43 ` Gianni Tedesco
2003-07-25 23:37 ` Bernd Eckenfels [this message]
2003-07-26 20:18 ` Rusty Russell
2003-07-28 11:51 ` Rahul Karnik
2003-07-28 23:13 ` Rusty Russell
2003-07-29 2:39 ` Rahul Karnik
2003-07-29 2:10 Perez-Gonzalez, Inaky
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=E19gC7T-0001Sa-00@calista.inka.de \
--to=ecki@calista.eckenfels.6bone.ka-ip.net \
--cc=linux-kernel@vger.kernel.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
all inboxes | Powered by JetHome®