From: greg@kroah.com (Greg KH)
To: lm-sensors@vger.kernel.org
Subject: [PATCH 2.4] i2c cleanups
Date: Thu, 19 May 2005 06:24:30 +0000 [thread overview]
Message-ID: <20031219190102.GB4468@kroah.com> (raw)
In-Reply-To: <20031213191258.2d78a9f7.khali@linux-fr.org>
On Wed, Dec 17, 2003 at 11:50:53PM +0200, Ky?sti M?lkki wrote:
>
> For kernel 2.6: kobjects. This is the essentials of driver-model and
> sysfs allowing a tree-like topology of devices and drivers. Reference a
> device on the bus, and its driver and parent device are also referenced.
> In turn, this would obsolete .owner if driver-model gets more thoroughly
> implemented during 2.7 cycle. I have some compiling and running code for
> that, will post for review on holidays.
No, kobjects have _nothing_ to do with module references. In fact,
that's the headache of module reference counts in a nutshell, kobject,
properly reference count the data structures, but the module reference
count is needed to properly protect the code itself from going away.
For files that users open within sysfs, kobjects now properly increment
the module reference count. But for other modules that grab structures
from your module, you need to make sure the module reference counting is
correct.
Or just disable CONFIG_MODULE_UNLOAD, and not worry about it at all :)
thanks,
greg k-h
next prev parent reply other threads:[~2005-05-19 6:24 UTC|newest]
Thread overview: 29+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-12-13 18:12 [PATCH 2.4] i2c cleanups Jean Delvare
2005-05-19 6:24 ` Jean Delvare
2003-12-13 18:33 ` [PATCH 2.4] i2c cleanups (1/4) Jean Delvare
2005-05-19 6:24 ` Jean Delvare
2003-12-13 18:49 ` [PATCH 2.4] i2c cleanups (2/4) Jean Delvare
2005-05-19 6:24 ` Jean Delvare
2003-12-13 19:31 ` [PATCH 2.4] i2c cleanups (3/4) Jean Delvare
2005-05-19 6:24 ` Jean Delvare
2003-12-13 19:36 ` [PATCH 2.4] i2c cleanups (4/4) Jean Delvare
2005-05-19 6:24 ` Jean Delvare
2005-05-19 6:24 ` [PATCH 2.4] i2c cleanups Jean Delvare
2005-05-19 6:24 ` Jean Delvare
2005-05-19 6:24 ` Kyösti Mälkki
2005-05-19 6:24 ` Kyösti Mälkki
2005-05-19 6:24 ` Jean Delvare
2005-05-19 6:24 ` Kyösti Mälkki
2005-05-19 6:24 ` Kyösti Mälkki
2005-05-19 6:24 ` Jean Delvare
2005-05-19 6:24 ` Jean Delvare
2005-05-19 6:24 ` Greg KH [this message]
2005-05-19 6:24 ` Mark Studebaker
2005-05-19 6:24 ` Kyösti Mälkki
2005-05-19 6:24 ` Kyösti Mälkki
2005-05-19 6:24 ` Jean Delvare
2005-05-19 6:24 ` Kyösti Mälkki
2005-05-19 6:24 ` Kyösti Mälkki
2005-05-19 6:24 ` Kyösti Mälkki
2005-05-19 6:24 ` Kyösti Mälkki
2005-05-19 6:24 ` Jean Delvare
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=20031219190102.GB4468@kroah.com \
--to=greg@kroah.com \
--cc=lm-sensors@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.