Re: Page allocator: Single Zone optimizations

Andi Kleen
2006-11-06T17:20:01Z

> No its not. RCU means that there are potential accesses after a object has
> been freed and even after an object has been reallocated via
> kmem_cache_alloc. A function that runs after kmem_cache_alloc() may
> mess up the lock state.

Ok, got it. How messy.

>From my previous slab experiences I predict it will not work anymore in less than
half a year. Such fragile constructions never tend to hold long.

> > What I meant: some time ago i had patches to add a __GFP_ZERO queue to the
> > page allocator. The page allocator would handle all this for everybody.
> > For various reasons they never got pushed.
>
> Yup that was probably my patchset.

That was an own patch by me. But it was pretty obvious so I'm sure
others had the same idea.

-Andi