From: Paul J. <pj...@en...> - 2001-12-11 23:27:17
|
On Sun, 9 Dec 2001, Jack Steiner wrote: > If code want to allocate close to a cpu, then kmem_cache_alloc_cpu() > is the best choice. However, I would also expect that some code > already knows the node. Then kmem_cache_alloc_node() is best. yup. > As precident, the page allocation routines are all node-based. > (ie., alloc_pages_node(), etc...) My inclinations would be to prefer more cpu-based allocators. But until I happen to catch you in a room with a white board, my inclinations are unlikely to go anywhere ... perhaps someday. I won't rest till it's the best ... Manager, Linux Scalability Paul Jackson <pj...@sg...> 1.650.933.1373 |