[PATCH 0/6] UBIFS: save a bit of RAM

Artem Bityutskiy dedekind1 at gmail.com
Mon Mar 14 10:46:06 EDT 2011


Hi,

this is a simple patch series which makes UBIFS use a bit less
RAM. It gets rid of a debugging buffer of PEB size, which is in
most cases 128KiB, but can be larger as well.

When UBIFS is compiled with debugging support (most typical setup
I believe), UBIFS allocate a PEB size buffer for miscellaneous
purposes. But mostly it uses the buffer in various self-checks.

However, most people never enable the self-checks, so the RAM is
wasted. This patch series makes UBIFS always allocate the RAM when
it is needed, and free it afterwords.

Artem.



More information about the linux-mtd mailing list