<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/mm/slab_common.c, branch linux-3.6.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.6.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.6.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2012-07-30T10:15:40Z</updated>
<entry>
<title>mm: Fix build warning in kmem_cache_create()</title>
<updated>2012-07-30T10:15:40Z</updated>
<author>
<name>Shuah Khan</name>
</author>
<published>2012-07-13T23:12:05Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=73a1180e140d45cb9ef5fbab103d3bbfc4c84606'/>
<id>urn:sha1:73a1180e140d45cb9ef5fbab103d3bbfc4c84606</id>
<content type='text'>
The label oops is used in CONFIG_DEBUG_VM ifdef block and is defined
outside ifdef CONFIG_DEBUG_VM block. This results in the following
build warning when built with CONFIG_DEBUG_VM disabled. Fix to move
label oops definition to inside a CONFIG_DEBUG_VM block.

mm/slab_common.c: In function ‘kmem_cache_create’:
mm/slab_common.c:101:1: warning: label ‘oops’ defined but not used
[-Wunused-label]

Signed-off-by: Shuah Khan &lt;shuah.khan@hp.com&gt;
Signed-off-by: Pekka Enberg &lt;penberg@kernel.org&gt;
</content>
</entry>
<entry>
<title>mm, sl[aou]b: Move kmem_cache_create mutex handling to common code</title>
<updated>2012-07-09T09:13:42Z</updated>
<author>
<name>Christoph Lameter</name>
</author>
<published>2012-07-06T20:25:13Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=20cea9683ecc6dd75a80c0dd02dc69c64e95be75'/>
<id>urn:sha1:20cea9683ecc6dd75a80c0dd02dc69c64e95be75</id>
<content type='text'>
Move the mutex handling into the common kmem_cache_create()
function.

Then we can also move more checks out of SLAB's kmem_cache_create()
into the common code.

Reviewed-by: Glauber Costa &lt;glommer@parallels.com&gt;
Signed-off-by: Christoph Lameter &lt;cl@linux.com&gt;
Signed-off-by: Pekka Enberg &lt;penberg@kernel.org&gt;
</content>
</entry>
<entry>
<title>mm, sl[aou]b: Use a common mutex definition</title>
<updated>2012-07-09T09:13:41Z</updated>
<author>
<name>Christoph Lameter</name>
</author>
<published>2012-07-06T20:25:12Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=18004c5d4084d965aa1396392706b8688306427a'/>
<id>urn:sha1:18004c5d4084d965aa1396392706b8688306427a</id>
<content type='text'>
Use the mutex definition from SLAB and make it the common way to take a sleeping lock.

This has the effect of using a mutex instead of a rw semaphore for SLUB.

SLOB gains the use of a mutex for kmem_cache_create serialization.
Not needed now but SLOB may acquire some more features later (like slabinfo
/ sysfs support) through the expansion of the common code that will
need this.

Reviewed-by: Glauber Costa &lt;glommer@parallels.com&gt;
Reviewed-by: Joonsoo Kim &lt;js1304@gmail.com&gt;
Signed-off-by: Christoph Lameter &lt;cl@linux.com&gt;
Signed-off-by: Pekka Enberg &lt;penberg@kernel.org&gt;
</content>
</entry>
<entry>
<title>mm, sl[aou]b: Common definition for boot state of the slab allocators</title>
<updated>2012-07-09T09:13:35Z</updated>
<author>
<name>Christoph Lameter</name>
</author>
<published>2012-07-06T20:25:11Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=97d06609158e61f6bdf538c4a6788e2de492236f'/>
<id>urn:sha1:97d06609158e61f6bdf538c4a6788e2de492236f</id>
<content type='text'>
All allocators have some sort of support for the bootstrap status.

Setup a common definition for the boot states and make all slab
allocators use that definition.

Reviewed-by: Glauber Costa &lt;glommer@parallels.com&gt;
Reviewed-by: Joonsoo Kim &lt;js1304@gmail.com&gt;
Signed-off-by: Christoph Lameter &lt;cl@linux.com&gt;
Signed-off-by: Pekka Enberg &lt;penberg@kernel.org&gt;
</content>
</entry>
<entry>
<title>mm, sl[aou]b: Extract common code for kmem_cache_create()</title>
<updated>2012-07-09T09:13:30Z</updated>
<author>
<name>Christoph Lameter</name>
</author>
<published>2012-07-06T20:25:10Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=039363f38bfe5f6281e9eae5e0518b11577d9d50'/>
<id>urn:sha1:039363f38bfe5f6281e9eae5e0518b11577d9d50</id>
<content type='text'>
Kmem_cache_create() does a variety of sanity checks but those
vary depending on the allocator. Use the strictest tests and put them into
a slab_common file. Make the tests conditional on CONFIG_DEBUG_VM.

This patch has the effect of adding sanity checks for SLUB and SLOB
under CONFIG_DEBUG_VM and removes the checks in SLAB for !CONFIG_DEBUG_VM.

Signed-off-by: Christoph Lameter &lt;cl@linux.com&gt;
Signed-off-by: Pekka Enberg &lt;penberg@kernel.org&gt;
</content>
</entry>
</feed>
