f2db19719a
jbd2_alloc is explicit about its allocation preferences wrt. the
allocation size. Sub page allocations go to the slab allocator and
larger are using either the page allocator or vmalloc. This is all good
but the logic is unnecessarily complex.
1) as per Ted, the vmalloc fallback is a left-over:
: jbd2_alloc is only passed in the bh->b_size, which can't be PAGE_SIZE, so
: the code path that calls vmalloc() should never get called. When we
: conveted jbd2_alloc() to suppor sub-page size allocations in commit
:
|
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
checkpoint.c | ||
commit.c | ||
journal.c | ||
recovery.c | ||
revoke.c | ||
transaction.c |