[PATCH 1/6] mtd: nandsim: convert pages_written[] to bitmap

Artem Bityutskiy dedekind1 at gmail.com
Fri Aug 2 10:38:46 EDT 2013


On Sun, 2013-07-28 at 11:21 +0900, Akinobu Mita wrote:
> nandsim.pages_written[] is the array of unsigned char which is indexed
> by the page number and used for identifying which pages have been written
> when cache_file is used.  Each entry holds 0 (not written) or 1 (written),
> so it can be converted to bitmap.  This reduces the allocation size of
> pages_written[] by 1/8.

Did you test this patch-set, if yes, how?

-- 
Best Regards,
Artem Bityutskiy




More information about the linux-mtd mailing list