<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/tools/slub, branch v3.2</title>
<subtitle>Linux kernel source tree</subtitle>
<id>https://git.amat.us/linux/atom/tools/slub?h=v3.2</id>
<link rel='self' href='https://git.amat.us/linux/atom/tools/slub?h=v3.2'/>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/'/>
<updated>2011-10-26T15:09:12Z</updated>
<entry>
<title>Merge branches 'slab/next' and 'slub/partial' into slab/for-linus</title>
<updated>2011-10-26T15:09:12Z</updated>
<author>
<name>Pekka Enberg</name>
<email>penberg@kernel.org</email>
</author>
<published>2011-10-26T15:09:12Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=e182a345d40deba7c3165a2857812bf403818319'/>
<id>urn:sha1:e182a345d40deba7c3165a2857812bf403818319</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tools, slub: Fix off-by-one buffer corruption after readlink() call</title>
<updated>2011-10-18T16:57:59Z</updated>
<author>
<name>Thomas Jarosch</name>
<email>thomas.jarosch@intra2net.com</email>
</author>
<published>2011-10-17T14:48:10Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=fe353178653b15add8626f5474842601be160281'/>
<id>urn:sha1:fe353178653b15add8626f5474842601be160281</id>
<content type='text'>
readlink() never zero terminates the provided buffer.
Therefore we already do

    buffer[count] = 0;

This leads to an off-by-one buffer corruption as readlink()
might return the full size of the buffer.

The common technique is to reduce the buffer size by one.
Another fix would be to check

  if (count &lt; 0 || count == sizeof(buffer))
      fatal();

Reducing the buffer size by one is easier IMHO.

Signed-off-by: Thomas Jarosch &lt;thomas.jarosch@intra2net.com&gt;
Acked-by: David Rientjes &lt;rientjes@google.com&gt;
Acked-by: Christoph Lameter &lt;cl@gentwo.org&gt;
Signed-off-by: Pekka Enberg &lt;penberg@kernel.org&gt;
</content>
</entry>
<entry>
<title>slub: update slabinfo tools to report per cpu partial list statistics</title>
<updated>2011-08-19T16:34:27Z</updated>
<author>
<name>Christoph Lameter</name>
<email>cl@linux.com</email>
</author>
<published>2011-08-09T21:12:28Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=aca726a07a71ff7aedc0e90a91f80a2701adcca5'/>
<id>urn:sha1:aca726a07a71ff7aedc0e90a91f80a2701adcca5</id>
<content type='text'>
Update the slabinfo tool to report the stats on per cpu partial list usage.

Signed-off-by: Christoph Lameter &lt;cl@linux.com&gt;
Signed-off-by: Pekka Enberg &lt;penberg@kernel.org&gt;
</content>
</entry>
<entry>
<title>slub: slabinfo update for cmpxchg handling</title>
<updated>2011-07-02T10:26:57Z</updated>
<author>
<name>Christoph Lameter</name>
<email>cl@linux.com</email>
</author>
<published>2011-06-01T17:26:00Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=9da4714a2d44ff48618a8d375dd81873e858803d'/>
<id>urn:sha1:9da4714a2d44ff48618a8d375dd81873e858803d</id>
<content type='text'>
Update the statistics handling and the slabinfo tool to include the new
statistics in the reports it generates.

Signed-off-by: Christoph Lameter &lt;cl@linux.com&gt;
Signed-off-by: Pekka Enberg &lt;penberg@kernel.org&gt;
</content>
</entry>
<entry>
<title>slub: move slabinfo.c to tools/slub/slabinfo.c</title>
<updated>2010-11-06T07:04:32Z</updated>
<author>
<name>Christoph Lameter</name>
<email>cl@linux.com</email>
</author>
<published>2010-10-21T18:01:56Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=0d24db337e6d81c0c620ab65cc6947bd6553f742'/>
<id>urn:sha1:0d24db337e6d81c0c620ab65cc6947bd6553f742</id>
<content type='text'>
We now have a tools directory for these things.

Reviewed-by: KOSAKI Motohiro &lt;kosaki.motohiro@jp.fujitsu.com&gt;
Acked-by: David Rientjes &lt;rientjes@google.com&gt;
Signed-off-by: Christoph Lameter &lt;cl@linux.com&gt;
Signed-off-by: Pekka Enberg &lt;penberg@kernel.org&gt;
</content>
</entry>
</feed>
