[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Non-Contiguous Memory Allocation Tests



On Tue, 9 Dec 2003, Ruthiano Simioni Munaretti wrote:

> Our patch is intended to be a test to check if this could bring enough 
> benefits to deserve a more careful implementation. We also included some code 
> to benchmark allocations and deallocations, using the RDTSC instruction.

I doubt it.  The vmalloc code path should not be used very
often at all in the kernel and for userspace allocations the
bigger overhead will probably be in things like setting up
page tables and zeroing out the pages.

-- 
"Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are,
by definition, not smart enough to debug it." - Brian W. Kernighan

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"aart@kvack.org"> aart@kvack.org </a>