]> git.hungrycats.org Git - linux/commit
[PATCH] slab: avoid higher-order allocations
authorAndrew Morton <akpm@osdl.org>
Fri, 12 Mar 2004 00:25:56 +0000 (16:25 -0800)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Fri, 12 Mar 2004 00:25:56 +0000 (16:25 -0800)
commit29d18b52045677dc961329bcbff05c6bc90c998b
tree0c078cedbac5cba86804b29a6ee8ff759be7478e
parent349055d09d3ebcbc7cb0bd50a0488194dc68f2ee
[PATCH] slab: avoid higher-order allocations

From: Manfred Spraul <manfred@colorfullife.com>

At present slab is using 2-order allocations for the size-2048 cache.  Of
course, this can affect networking quite seriously.

The patch ensures that slab will never use more than a 1-order allocation
for objects which have a size of less than 2*PAGE_SIZE.
mm/slab.c