On Fri, Jul 13, 2012 at 8:35 PM, Sarbojit Ganguly < [email protected]> wrote:
> 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... > > -- > Regards, > Sarbojit > > _______________________________________________ > Kernelnewbies mailing list > [email protected] > http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies > -- Regards, Peter Teoh
_______________________________________________ Kernelnewbies mailing list [email protected] http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
