Messages in this thread | | | Date | Tue, 14 May 2013 10:45:40 -0400 | From | Greg KH <> | 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
| |