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

From: Matthew Wilcox
Date: Fri May 30 2008 - 14:00:33 EST


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