<br><br><div class="gmail_quote">On Fri, Jul 13, 2012 at 8:35 PM, Sarbojit Ganguly <span dir="ltr">&lt;<a href="mailto:unixman.linuxboy@gmail.com" target="_blank">unixman.linuxboy@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

Hello Community,<br>
<br>
I was browsing the tree and in slub.c/ function kfree(), I found &quot;PageSlab&quot;<br>
I could not find its definition anywhere.<br>
<br>
Also, googling about it did not yield much help except for pointers to<br>
various patches _using_ this.<br>
<br>
Can anyone explain what it is and where it is defined (if at all it<br>
has a definition).<br></blockquote><div><br></div><div><br></div><div>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:</div>

<div><br></div><div><a href="http://en.wikipedia.org/wiki/Slab_allocation" target="_blank">http://en.wikipedia.org/wiki/Slab_allocation</a></div><div><br></div><div><a href="http://www.ibm.com/developerworks/linux/library/l-linux-slab-allocator/">http://www.ibm.com/developerworks/linux/library/l-linux-slab-allocator/</a></div>
<div><br></div><div>And the first original paper from Bonwick:</div><div><br></div><div><a href="http://www.ezdoum.com/upload/20/20020412235505/bonwick94slab.pdf">http://www.ezdoum.com/upload/20/20020412235505/bonwick94slab.pdf</a></div>
<div><br></div><div>And here is a SLAB implementation by itself (for easier reading and reuse):</div><div><br></div><div><a href="http://code.google.com/p/memslab/">http://code.google.com/p/memslab/</a></div><div><br></div>
<div>And this page is for detailed description on SLAB:</div><div><br></div><div><a href="http://www.kernel.org/doc/gorman/html/understand/understand011.html">http://www.kernel.org/doc/gorman/html/understand/understand011.html</a></div>
<div><br></div><div><a href="http://lwn.net/Articles/320556/">http://lwn.net/Articles/320556/</a>  (several variation of SLAB described, including the SLUB u mentioned above).</div><div><br></div><div>which is used in several OS (Unix mainly).</div>
<div><br></div><div>and this blog teaches u how to analyze SLAB usage patterns:</div><div><br></div><div><a href="http://flylib.com/books/en/4.454.1.55/1/">http://flylib.com/books/en/4.454.1.55/1/</a></div><div><br></div>
<div><a href="http://3.bp.blogspot.com/_Z4Xjc19r9Dw/TSM3q2guB0I/AAAAAAAAAUo/1a_eQQGeXOo/s1600/Linux%2BMM.jpg">http://3.bp.blogspot.com/_Z4Xjc19r9Dw/TSM3q2guB0I/AAAAAAAAAUo/1a_eQQGeXOo/s1600/Linux%2BMM.jpg</a></div><div><br>
</div><div>etc...</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<span><font color="#888888"><br>
--<br>
Regards,<br>
Sarbojit<br>
<br>
_______________________________________________<br>
Kernelnewbies mailing list<br>
<a href="mailto:Kernelnewbies@kernelnewbies.org" target="_blank">Kernelnewbies@kernelnewbies.org</a><br>
<a href="http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies" target="_blank">http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies</a><br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br>Regards,<br>Peter Teoh<br>