Re: [patch 00/41] cpu alloc / cpu ops v3: Optimize per cpu access

Matthew Wilcox
2008-05-30T18:00:33Z

On Fri, May 30, 2008 at 10:50:04AM -0700, Christoph Lameter wrote:
> cpu alloc v2 had an extendable per cpu space. You have the patches. We
> could put this on top of this patchset if necessary. But then it not so
> nice and simple anymore. Maybe we can rstrict the use of cpu alloc
> instead to users with objects < cache_line_size() or so?

Restricting the use of cpu_alloc based on size of object is no good when
you're trying to allocate 45,000 objects. Extending the per CPU space
is the only option.

--
Intel are signing my paycheques ... these opinions are still mine
"Bill, look, we understand that you're interested in selling us this
operating system, but compare it to ours. We can't possibly take such
a retrograde step."