From: Josselin Costanzi Date: Wed, 22 Feb 2012 15:37:05 +0000 (+0100) Subject: UBI: reduce memory consumption X-Git-Tag: sz_release~74 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1577e1d7511e2bec53141e8aa04bf6abb85bbb1c;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