tech-kern archive

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

Re: Patch: optimize kmem_alloc for frequent mid-sized allocations

Andrew Doran <> writes:

>              The below patch introduces an additional level of caching,
> from the maximum size provided by the quantum cache up to PAGE_SIZE. It also
> adds debug code to check that allocated size == freed size.

Your point is to keep memory in pool cache and not in pool itself,
right?  If so, we want to bypass pool layer to avoid page header
allocation, don't we?


Home | Main Index | Thread Index | Old Index