Re: Page allocator: Single Zone optimizations

Andi Kleen
2006-11-04T01:32:52Z

> I would appreciate patches to that effect, voting will not help much. It
> would make my new slab project much easier. But I doubt that this is as
> easy as you think. F.e. I wonder how you going to do anonvma RCU without
> constructors. I think constructors/destructors are here to stay.

Hmm. Why? Why can't the work of the constructor not be done after the
kmem_cache_alloc() ?

> One thing I would appreciate very much and its in your area. Deal
> with the use of slab for page size allocations (pmd, pgd etc) in i386 arch
> code.

I can do that for pte/pmd. Never quite understood why those were made
slabs -- on x86-64 they are just pages and that works great.

But in PAE pgd is only 32 bytes. That will always need a smaller allocation.
But that shouldn't be overloaded anyways.
Actually I think it could be probably just put into mm_context_t

-Andi