diff options
author | Namhyung Kim <namhyung@kernel.org> | 2021-03-11 20:54:13 +0900 |
---|---|---|
committer | Peter Zijlstra <peterz@infradead.org> | 2021-03-16 21:44:43 +0100 |
commit | ff65338e78418e5970a7aabbabb94c46f2bb821d (patch) | |
tree | 038304f39554a28108481e82015246969e35328a /kernel/bpf | |
parent | bdacfaf26da166dd56c62f23f27a4b3e71f2d89e (diff) |
perf core: Allocate perf_event in the target node memory
For cpu events, it'd better allocating them in the corresponding node
memory as they would be mostly accessed by the target cpu. Although
perf tools sets the cpu affinity before calling perf_event_open, there
are places it doesn't (notably perf record) and we should consider
other external users too.
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lkml.kernel.org/r/20210311115413.444407-2-namhyung@kernel.org
Diffstat (limited to 'kernel/bpf')
0 files changed, 0 insertions, 0 deletions