[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20070714035514.GC11633@kroah.com>
Date: Fri, 13 Jul 2007 20:55:14 -0700
From: Greg KH <greg@...ah.com>
To: dougthompson@...ssion.com
Cc: alan@...rguk.ukuu.org.uk, linux-kernel@...r.kernel.org,
akpm@...l.org
Subject: Re: [PATCH 7/8] drivers edac fix edac_mc sysfs completion code
On Fri, Jul 13, 2007 at 10:54:30AM -0600, dougthompson@...ssion.com wrote:
> From: doug thompson <dougthompson@...ssion.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@...rguk.ukuu.org.uk
> Signed-off-by: doug thompson <dougthompson@...ssion.com>
Acked-by: Greg Kroah-Hartman <gregkh@...e.de>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists