diff options
| author | Christoph Lameter <[email protected]> | 2007-07-17 04:03:30 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2007-07-17 10:23:02 -0700 |
| commit | 434e245ddd3f14aa8eef97cae16c71b863ab092a (patch) | |
| tree | bbfd9d012416e6882fd714650435a78ce4f9da9b /include | |
| parent | 94f6030ca792c57422f04a73e7a872d8325946d3 (diff) | |
SLUB: Do not allocate object bit array on stack
The objects per slab increase with the current patches in mm since we allow up
to order 3 allocs by default. More patches in mm actually allow to use 2M or
higher sized slabs. For slab validation we need per object bitmaps in order
to check a slab. We end up with up to 64k objects per slab resulting in a
potential requirement of 8K stack space. That does not look good.
Allocate the bit arrays via kmalloc.
Signed-off-by: Christoph Lameter <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions