kcov-allocate-per-cpu-memory-on-the-relevant-node.patch removed from -mm tree
The patch titled
Subject: kcov: allocate per-CPU memory on the relevant node
has been removed from the -mm tree. Its filename was
kcov-allocate-per-cpu-memory-on-the-relevant-node.patch
This patch was dropped because it was merged into mainline or a subsystem tree
------------------------------------------------------
From: Sebastian Andrzej Siewior <[email protected]>
Subject: kcov: allocate per-CPU memory on the relevant node
During boot kcov allocates per-CPU memory which is used later if remote/ softirq processing is enabled.
Allocate the per-CPU memory on the CPU local node to avoid cross node memory access.
Signed-off-by Sebastian Andrzej Siewior <[email protected]>
Acked-by Dmitry Vyukov <[email protected]>
Acked-by Marco Elver <[email protected]>
Tested-by Marco Elver <[email protected]>
Reviewed-by Andrey Konovalov <[email protected]>
Cc Clark Williams <[email protected]>
Cc Steven Rostedt <[email protected]>
Signed-off-by Andrew Morton <[email protected]>
---
kernel/kcov.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
kernel/kcov.c renamed from kernel/kcov.c~kcov-allocate-per-cpu-memory-on-the-relevant-node +2 -2
@@ -1034,8 +1034,8 @@ static int __init kcov_init(void)int cpu;for_each_possible_cpu (cpu) { -void *area =vmalloc (CONFIG_KCOV_IRQ_AREA_SIZE * -sizeof (unsigned long )); +void *area =vmalloc_node (CONFIG_KCOV_IRQ_AREA_SIZE * +sizeof (unsigned long ),cpu_to_node (cpu));if (!area)return -ENOMEM ;per_cpu_ptr (&kcov_percpu_data, cpu)->irq_area = area;
_
Patches currently in -mm which might be from [email protected] are