[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
slab cache
- To: linux-mm@kvack.org
- Subject: slab cache
- From: David Chow <davidchow@shaolinmicro.com>
- Date: Sun, 09 Jun 2002 22:52:46 +0800
- Fake-Sender: owner-linux-mm@kvack.org
- Original-Recipient: rfc822;linux-mm-archive@humbolt.geo.uu.nl
- Sender: Rik van Riel <riel@nl.linux.org>
- User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.9) Gecko/20020516
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
--
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/