diff options
| author | Akinobu Mita <akinobu.mita@gmail.com> | 2013-07-28 11:21:53 +0900 |
|---|---|---|
| committer | David Woodhouse <David.Woodhouse@intel.com> | 2013-08-05 21:05:21 +0100 |
| commit | 08efe91a1befa67bcc3799e0d29b7194803e1538 (patch) | |
| tree | 7e6ca93afeb8b14475461ebd1d9795258b51042e /tools/perf/scripts/python/netdev-times.py | |
| parent | 60c6738245612df9499b340c15edf48b8f3e7981 (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 <akinobu.mita@gmail.com>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions
