diff options
author | Josselin Costanzi <josselin.costanzi@mobile-devices.fr> | 2012-02-22 16:37:05 +0100 |
---|---|---|
committer | Artem Bityutskiy <artem.bityutskiy@linux.intel.com> | 2012-03-09 09:39:31 +0200 |
commit | 43b043e78b876ce27034f167897b57fd2556ad29 (patch) | |
tree | 3397ed09387b4f74b4c2f23b1d04943baa0c7b11 /crypto/scatterwalk.c | |
parent | 7eb3aa65853e1b223bfc786b023b702018cb76c0 (diff) |
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 <josselin.costanzi@mobile-devices.fr>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Diffstat (limited to 'crypto/scatterwalk.c')
0 files changed, 0 insertions, 0 deletions