Objects aren't owned by a certain cpu (*), instead each cpu has a limited
FIFO buffer (at most 252 entries) and alloc/free calls go into that FIFO
buffer. If the buffer overflows, then the objects are given back / taken
from the global cache. Allocing one one cpu and freeing on another cpu
doesn't cause a memory leak, only the decrease of cache line ping-pong won't
be optimal.
(*) for NUMA we might have to add another layer on top of my patch: objects
should be given back to the node they came from. But I have no idea if this
is realistic/necessary/important/...
--
Manfred
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/