Re: [PATCH UPDATED] percpu: use dynamic percpu allocator as the default percpu allocator

Tejun Heo
2009-04-01T00:22:43Z

Hello,

Christoph Lameter wrote:
> Needs additional feedback and review by Tejun I would think. Just compile
> tested so far. The removal of the rbtree also relaxes locking restrictions
> for pcpu_chunk_address_search (which is not really searching anymore).
>
> Subject: dynamic percpu allocator: Remove rbtree
>
> The rbtree is used to determine the chunk from the virtual address. However,
> we can already determine the page struct from a virtual address and there
> are several unused fields in page struct used by vmalloc. Use the index
> field to store a pointer to the chunk. Then there is no need anymore for
> an rbtree.
>
> Signed-off-by: Christoph Lameter <cl@linux.com>

This is great. I'll integrate the patch and test it soonish but with
LSF on the next week, I'll probably be slow during the next two weeks.

Thanks a lot.

--
tejun