perf core: Allocate perf_buffer in the target node memory
authorNamhyung Kim <namhyung@kernel.org>
Mon, 15 Mar 2021 03:34:36 +0000 (12:34 +0900)
committerPeter Zijlstra <peterz@infradead.org>
Tue, 16 Mar 2021 20:44:42 +0000 (21:44 +0100)
commit9483409ab5067941860754e78a4a44a60311d276
tree2177fe31901f7561c179a00a2d298b150a6a6a78
parent1e28eed17697bcf343c6743f0028cc3b5dd88bf0
perf core: Allocate perf_buffer in the target node memory

I found the ring buffer pages are allocated in the node but the ring
buffer itself is not.  Let's convert it to use kzalloc_node() too.

Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lkml.kernel.org/r/20210315033436.682438-1-namhyung@kernel.org
kernel/events/ring_buffer.c