lkml.org 
[lkml]   [2013]   [May]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 0/2 v2] cpu: fix leaks and udev race in register_cpu()
On Tue, May 14, 2013 at 04:46:05PM +0200, Igor Mammedov wrote:
> 1. move "crash_notes" and "crash_notes_size" 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 at https://lkml.org/lkml/2012/4/30/193
>
> Igor Mammedov (2):
> cpu: fix "crash_notes" and "crash_notes_size" leaks in register_cpu()
> cpu: make sure that cpu/online file created before KOBJ_ADD is
> emitted
>
> drivers/base/cpu.c | 59 ++++++++++++++++++++++++++++++++++-----------------
> 1 files changed, 39 insertions(+), 20 deletions(-)

Nice, give me a few days to catch up with my patch queue, and I'll apply
this.

greg k-h


\
 
 \ /
  Last update: 2013-05-14 21:21    [W:0.067 / U:1.476 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site