Re: Hotplug CPU support for Oprofile

From: Christoph Lameter
Date: Mon May 05 2008 - 15:13:15 EST


The allocpercpu approach creates a pointer array and results in objects
distributed over all of memory. A cpu alloc approach would place
dynamically allocated per cpu objects together which is better for memory
consumption (no need to align) and performance (same TLB entry, neigboring
memory cells, possible shared cachelines).

--
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/