What is PageSlab?

Peter Teoh htmldeveloper at gmail.com
Mon Jul 16 20:35:03 EDT 2012


On Fri, Jul 13, 2012 at 8:35 PM, Sarbojit Ganguly <
unixman.linuxboy at gmail.com> 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
> Kernelnewbies at kernelnewbies.org
> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>



-- 
Regards,
Peter Teoh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20120717/107a6ab1/attachment.html 


More information about the Kernelnewbies mailing list