Christoph Lameter 06b285dc3d slub: Make the order configurable for each slab cache
Makes /sys/kernel/slab/<slabname>/order writable. The allocation
order of a slab cache can then be changed dynamically during runtime.
This can be used to override the objects per slabs value establisheed
with the slub_min_objects setting that was manually specified or
calculated on bootup.

The changes of the slab order can occur while allocate_slab() runs.
Allocate slab needs the order and the number of slab objects that
are both changed by the change of order. Both are put into
a single word (struct kmem_cache_order_objects). They can then
be atomically updated and retrieved.

Signed-off-by: Christoph Lameter <clameter@sgi.com>
Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>
2008-04-27 18:28:18 +03:00
..
2008-03-19 18:53:35 -07:00
2008-03-19 18:53:35 -07:00
2008-03-19 18:53:35 -07:00
2008-04-17 20:05:36 +02:00
2008-04-08 18:25:53 -07:00
2007-10-20 01:27:18 +02:00
2007-02-15 09:57:03 -08:00
2008-02-08 18:57:39 -08:00
2007-10-18 14:37:31 -07:00
2007-05-21 09:18:19 -07:00
2008-04-15 19:35:40 -07:00
2008-02-05 09:44:19 -08:00
2008-03-19 18:53:35 -07:00
2007-10-20 01:27:18 +02:00
2008-03-19 18:53:35 -07:00
2008-04-15 19:30:19 -07:00
2008-03-19 18:53:35 -07:00
2007-11-14 18:45:41 -08:00
2008-03-19 18:53:35 -07:00