Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 93519a67 authored by Venkat Gopalakrishnan's avatar Venkat Gopalakrishnan
Browse files

block/fs: make tracking dirty task debug only



Adding a new element "tsk_dirty" to struct page increases the size
of mem_map/vmemmap, restrict this to a debug only functionality to
save few MB of memory.

Considering a system with 1G of RAM, there will be nearly 262144
pages and thus that many number of page structures in mem_map/vmemmap.
With pointer size of 8 bytes on a 64 bit system, adding this
pointer to "struct page" means an increase of "2MB" for mem_map.

CRs-Fixed: 738692
Change-Id: Idf3217dcbe17cf1ab4d462d2aa8d39da1ffd8b13
Signed-off-by: default avatarVenkat Gopalakrishnan <venkatg@codeaurora.org>
parent 2d84b35b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment