[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20130514144540.GB14462@kroah.com>
Date: Tue, 14 May 2013 10:45:40 -0400
From: Greg KH <gregkh@...uxfoundation.org>
To: Igor Mammedov <imammedo@...hat.com>
Cc: linux-kernel@...r.kernel.org, konrad.wilk@...cle.com,
chuck.anderson@...cle.com
Subject: Re: [RFC 0/2] cpu: fix leak and udev race in register_cpu()
On Tue, May 14, 2013 at 12:05:30AM +0200, Igor Mammedov wrote:
> Here is a crude attempt fix race the way suggested by Greg,
> probably done wrong but hopefully in the right direction.
>
> 1. move "crash_notes" to static attributes to guarantee that it's
> destroyed with CPU on unregister.
>
> 2. fixes race between hotplugged CPU and onlining it via udev, described here
> https://lkml.org/lkml/2012/4/30/193
Looks right to me, nice job.
greg k-h
--
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