Re: [PATCH 1/1] mm/page_owner: store page_owner's gfp_mask in stackdepot itself

2019-07-11 Thread Andrew Morton
On Mon, 17 Jun 2019 15:51:32 +0200 Vlastimil Babka wrote: > On 6/7/19 7:53 AM, Sai Charan Sane wrote: > > Memory overhead of 4MB is reduced by storing gfp_mask in stackdepot along > > with stacktrace. Stackdepot memory usage increased by ~100kb for 4GB of RAM. > > > > Page owner logs from dmesg:

Re: [PATCH 1/1] mm/page_owner: store page_owner's gfp_mask in stackdepot itself

2019-06-17 Thread Vlastimil Babka
On 6/7/19 7:53 AM, Sai Charan Sane wrote: > Memory overhead of 4MB is reduced by storing gfp_mask in stackdepot along > with stacktrace. Stackdepot memory usage increased by ~100kb for 4GB of RAM. > > Page owner logs from dmesg: > Before patch: > allocated 20971520 bytes of pag

[PATCH 1/1] mm/page_owner: store page_owner's gfp_mask in stackdepot itself

2019-06-06 Thread Sai Charan Sane
Memory overhead of 4MB is reduced by storing gfp_mask in stackdepot along with stacktrace. Stackdepot memory usage increased by ~100kb for 4GB of RAM. Page owner logs from dmesg: Before patch: allocated 20971520 bytes of page_ext After patch: allocat