aboutsummaryrefslogtreecommitdiff
path: root/scripts/stackusage
diff options
context:
space:
mode:
authorAkinobu Mita <[email protected]>2013-07-28 11:21:53 +0900
committerDavid Woodhouse <[email protected]>2013-08-05 21:05:21 +0100
commit08efe91a1befa67bcc3799e0d29b7194803e1538 (patch)
tree7e6ca93afeb8b14475461ebd1d9795258b51042e /scripts/stackusage
parent60c6738245612df9499b340c15edf48b8f3e7981 (diff)
mtd: nandsim: convert pages_written[] to bitmap
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. Signed-off-by: Akinobu Mita <[email protected]> Signed-off-by: Artem Bityutskiy <[email protected]> Signed-off-by: David Woodhouse <[email protected]>
Diffstat (limited to 'scripts/stackusage')
0 files changed, 0 insertions, 0 deletions