Re: [PATCH 1/1] mm: Prevent dereferencing non-allocated per_cpuvariables
From: Christoph Lameter
Date: Tue Nov 27 2007 - 19:15:56 EST
On Wed, 28 Nov 2007, Andi Kleen wrote:
> It was demonstrated useful for some specific cases, like context switch early
> fetch on IA64. But I agree the prefetch on each list_for_each() is probably
> a bad idea and should be removed. Will also help code size.
Looks like sum_vm_events() is only ever called from all_vm_events().
Callers of all_vm_events():
App monitoring?
arch/s390/appldata/appldata_mem.c: all_vm_events(ev);
Leds:
drivers/parisc/led.c: all_vm_events(events);
proc out put for /proc/vmstat:
mm/vmstat.c: all_vm_events(e);
All of that does not seem to be performance critical
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/