slab cache

David Chow
2002-06-09T14:52:47Z

Dear all,

I am trying to improve the speed of my fs code. I have a fixed sized
buffer for my fs, I currently use kmalloc for allocation of buffers
greater than 4k, use get_free_page for 4k buffers and vmalloc for large
buffers. Is there any benefits using the slab cache? If so whats the
difference of using slab cache than kmalloc? Thanks for comments.

regards,
David