From: Greg KH <greg@kroah.com>
To: dougthompson@xmission.com
Cc: alan@lxorguk.ukuu.org.uk, linux-kernel@vger.kernel.org, akpm@osdl.org
Subject: Re: [PATCH 7/8] drivers edac fix edac_mc sysfs completion code
Date: Fri, 13 Jul 2007 20:55:14 -0700 [thread overview]
Message-ID: <20070714035514.GC11633@kroah.com> (raw)
In-Reply-To: <4697ae46.2A5hpktamwpYrgDY%dougthompson@xmission.com>
On Fri, Jul 13, 2007 at 10:54:30AM -0600, dougthompson@xmission.com wrote:
> From: doug thompson <dougthompson@xmission.com>
>
> This patch refactors the 'releasing' of kobjects for the edac_mc type
> of device. The correct pattern of kobject release is followed.
>
> As internal kobjs are allocated they bump a ref count on the top
> level kobj. It in turn has a module ref count on the edac_core module.
> When internal kobjects are released, they dec the ref count on the
> top level kobj. When the top level kobj reaches zero, it decrements
> the ref count on the edac_core object, allow it to be unloaded,
> as all resources have all now been released.
>
> CC: Alan Cox alan@lxorguk.ukuu.org.uk
> Signed-off-by: doug thompson <dougthompson@xmission.com>
Acked-by: Greg Kroah-Hartman <gregkh@suse.de>
next prev parent reply other threads:[~2007-07-14 3:58 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-07-13 16:54 [PATCH 7/8] drivers edac fix edac_mc sysfs completion code dougthompson
2007-07-14 3:55 ` Greg KH [this message]
-- strict thread matches above, loose matches on Subject: below --
2007-07-09 17:10 dougthompson
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=20070714035514.GC11633@kroah.com \
--to=greg@kroah.com \
--cc=akpm@osdl.org \
--cc=alan@lxorguk.ukuu.org.uk \
--cc=dougthompson@xmission.com \
--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 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.