On Fri, Jul 13, 2007 at 10:54:30AM -0600, [EMAIL PROTECTED] wrote:
> From: doug thompson <[EMAIL PROTECTED]>
> 
> 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 [EMAIL PROTECTED]
> Signed-off-by:        doug thompson <[EMAIL PROTECTED]>

Acked-by: Greg Kroah-Hartman <[EMAIL PROTECTED]>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to