What is PageSlab?
From: Sarbojit Ganguly <hidden>
Date: 2012-07-17 05:32:47
Hello Peter, Thank you for the extensive reply. I was studying memory management and stumbled upon a function "PageSlab()" whose definition I could not find anywhere. Hence I asked. The last blog link was really good, bookmarked it. Thanks again! On 17 July 2012 06:05, Peter Teoh [off-list ref] wrote:
On Fri, Jul 13, 2012 at 8:35 PM, Sarbojit Ganguly [off-list ref] wrote:quoted
Hello Community, I was browsing the tree and in slub.c/ function kfree(), I found "PageSlab" I could not find its definition anywhere. Also, googling about it did not yield much help except for pointers to various patches _using_ this. Can anyone explain what it is and where it is defined (if at all it has a definition).I am not sure what is your motive behind asking this question - PageSlab can mean many different thing, but one thing in common is the concept of SLAB allocator: http://en.wikipedia.org/wiki/Slab_allocation http://www.ibm.com/developerworks/linux/library/l-linux-slab-allocator/ And the first original paper from Bonwick: http://www.ezdoum.com/upload/20/20020412235505/bonwick94slab.pdf And here is a SLAB implementation by itself (for easier reading and reuse): http://code.google.com/p/memslab/ And this page is for detailed description on SLAB: http://www.kernel.org/doc/gorman/html/understand/understand011.html http://lwn.net/Articles/320556/ (several variation of SLAB described, including the SLUB u mentioned above). which is used in several OS (Unix mainly). and this blog teaches u how to analyze SLAB usage patterns: http://flylib.com/books/en/4.454.1.55/1/ http://3.bp.blogspot.com/_Z4Xjc19r9Dw/TSM3q2guB0I/AAAAAAAAAUo/1a_eQQGeXOo/s1600/Linux%2BMM.jpg etc...quoted
-- Regards, Sarbojit _______________________________________________ Kernelnewbies mailing list Kernelnewbies at kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies-- Regards, Peter Teoh
-- Regards, Sarbojit