Re: [PATCH] Make slab use alloc_pages directly

2005-01-24 Thread Manfred Spraul
Matthew Wilcox wrote: __get_free_pages() calls alloc_pages, finds the page_address() and throws away the struct page *. Slab then calls virt_to_page to get it back again. Much more efficient for slab to call alloc_pages itself, as well as making the NUMA and non-NUMA cases more similarr to each o

Re: [PATCH] Make slab use alloc_pages directly

2005-01-24 Thread David Howells
Matthew Wilcox <[EMAIL PROTECTED]> wrote: > __get_free_pages() calls alloc_pages, finds the page_address() and > throws away the struct page *. Slab then calls virt_to_page to get it > back again. Much more efficient for slab to call alloc_pages itself, > as well as making the NUMA and non-NUMA

[PATCH] Make slab use alloc_pages directly

2005-01-24 Thread Matthew Wilcox
__get_free_pages() calls alloc_pages, finds the page_address() and throws away the struct page *. Slab then calls virt_to_page to get it back again. Much more efficient for slab to call alloc_pages itself, as well as making the NUMA and non-NUMA cases more similarr to each other. Signed-off-by: