diff options
author | 2011-03-11 15:56:38 +0200 | |
---|---|---|
committer | 2011-03-16 14:05:24 +0200 | |
commit | 6fb324a4b0c3c9297cd569bd125ed691f2f98d57 (patch) | |
tree | e21c9930d753e13db7ac72e533138b864f9a909a /fs/jbd2/commit.c | |
parent | UBIFS: allocate scanning buffer on demand (diff) | |
download | linux-rng-6fb324a4b0c3c9297cd569bd125ed691f2f98d57.tar.xz linux-rng-6fb324a4b0c3c9297cd569bd125ed691f2f98d57.zip |
UBIFS: allocate ltab checking buffer on demand
Instead of using pre-allocated 'c->dbg->buf' buffer in
'dbg_check_ltab_lnum()', dynamically allocate it when needed. The
intend is to get rid of the pre-allocated 'c->dbg->buf' buffer and
save 128KiB of RAM (or more if PEB size is larger). Indeed,
currently we allocate this memory even if the user never enables
any self-check, which is wasteful.
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions