From: Josselin Costanzi Date: Wed, 22 Feb 2012 15:37:05 +0000 (+0100) Subject: UBI: reduce memory consumption X-Git-Tag: v3.4-rc1~119^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=43b043e78b876ce27034f167897b57fd2556ad29;p=pandora-kernel.git UBI: reduce memory consumption Remove the pre-allocated 'peb_buf2' buffer because we do not really need it. The only reason UBI has it is to check that the data were written correctly. But we do not have to have 2 buffers for this and waste RAM - we can just compare CRC checksums instead. This reduces UBI memory consumption. Artem bityutskiy: massaged the patch and commit message Signed-off-by: Josselin Costanzi Signed-off-by: Artem Bityutskiy --- Reading git-diff-tree failed