summaryrefslogtreecommitdiffstats
path: root/mm
diff options
context:
space:
mode:
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2011-03-11 15:56:38 +0200
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2011-03-16 14:05:24 +0200
commit6fb324a4b0c3c9297cd569bd125ed691f2f98d57 (patch)
treee21c9930d753e13db7ac72e533138b864f9a909a /mm
parentcd5f7485bbbbfeea4363b535abeaa01df6942c66 (diff)
downloadop-kernel-dev-6fb324a4b0c3c9297cd569bd125ed691f2f98d57.zip
op-kernel-dev-6fb324a4b0c3c9297cd569bd125ed691f2f98d57.tar.gz
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 'mm')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud