uma_small_alloc from direct mapped memory.

Jayachandran C. c.jayachandran at gmail.com
Mon Dec 6 06:39:24 UTC 2010


Hi all,

The attached patch uses the mechanism used to allocate page table
pages for UMA small allocations too.  This will make sure that all the
small UMA allocations comes from KSEG0 pages in 32 bit and XKPHYS in
64bit.

This reduces TLB misses in kernel code significantly, and can give
major performance advantage for applications that spent a lot of time
in kernel.

Please let me know your comments.

Thanks,
JC.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mips-uma.patch
Type: text/x-patch
Size: 4568 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-mips/attachments/20101206/18a4e908/mips-uma.bin


More information about the freebsd-mips mailing list