[PATCH 1/2] UBI: allocate verification buffer on demand
Shmulik Ladkani
shmulik.ladkani at gmail.com
Thu Mar 8 11:08:26 EST 2012
On Thu, 8 Mar 2012 16:14:50 +0200 Artem Bityutskiy <dedekind1 at gmail.com> wrote:
> From: Josselin Costanzi <josselin.costanzi at mobile-devices.fr>
>
> 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.
>
> Artem bityutskiy: massaged the patch and commit message
>
> Signed-off-by: Josselin Costanzi <josselin.costanzi at mobile-devices.fr>
> Signed-off-by: Artem Bityutskiy <artem.bityutskiy at linux.intel.com>
Josselin's original title "allocate verification buffer on demand" does
no longer describe this patch.
Should be "Remove the pre-allocated 'peb_buf2'" or alike.
Regards,
Shmulik
More information about the linux-mtd
mailing list