Re: [RFC PATCH] perf/amd: Try to fix some mem allocation failure handling

2014-06-10 Thread Peter Zijlstra
On Tue, Jun 10, 2014 at 05:37:09PM +0800, Zhouyi Zhou wrote: > This is version 2.0 of "[PATCH 1/1] perf/amd: NULL return of kzalloc_node > should be handled" > (http://www.spinics.net/lists/kernel/msg1760689.html), > > Try to correctly handle mem allocation failure in perf_event_amd_uncore.c > >

[RFC PATCH] perf/amd: Try to fix some mem allocation failure handling

2014-06-10 Thread Zhouyi Zhou
This is version 2.0 of "[PATCH 1/1] perf/amd: NULL return of kzalloc_node should be handled" (http://www.spinics.net/lists/kernel/msg1760689.html), Try to correctly handle mem allocation failure in perf_event_amd_uncore.c Signed-off-by: Zhouyi Zhou --- arch/x86/kernel/cpu/perf_event_amd_uncore