diff options
author | Theodore Ts'o <tytso@mit.edu> | 2009-12-07 18:36:20 +0300 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2009-12-07 18:36:20 +0300 |
commit | d2eecb03936878ec574ade5532fa83df7d75dde7 (patch) | |
tree | f7ef8bd29096ba6c073308cd3b674857be1545d4 /fs/ubifs/tnc_commit.c | |
parent | f8ec9d6837241865cf99bed97bb99f4399fd5a03 (diff) | |
download | linux-d2eecb03936878ec574ade5532fa83df7d75dde7.tar.xz |
ext4: Use slab allocator for sub-page sized allocations
Now that the SLUB seems to be fixed so that it respects the requested
alignment, use kmem_cache_alloc() to allocator if the block size of
the buffer heads to be allocated is less than the page size.
Previously, we were using 16k page on a Power system for each buffer,
even when the file system was using 1k or 4k block size.
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'fs/ubifs/tnc_commit.c')
0 files changed, 0 insertions, 0 deletions