Re: [PATCH v11 2/3] mm: add a field to store names for private anonymous memory
From: Andrew Morton <akpm@linux-foundation.org>
Date: 2021-11-16 05:19:38
Also in:
linux-doc, linux-fsdevel, lkml
From: Andrew Morton <akpm@linux-foundation.org>
Date: 2021-11-16 05:19:38
Also in:
linux-doc, linux-fsdevel, lkml
On Tue, 19 Oct 2021 14:58:36 -0700 Suren Baghdasaryan [off-list ref] wrote:
As Andrew suggested, I checked the image sizes with allnoconfig builds: unpatched Linus' ToT text data bss dec hex filename 1324759 32 73928 1398719 1557bf vmlinux After the first patch is applied (madvise refactoring) text data bss dec hex filename 1322346 32 73928 1396306 154e52 vmlinuxquoted
quoted
quoted
2413 bytes decrease vs ToT <<<After all patches applied with CONFIG_ANON_VMA_NAME=n text data bss dec hex filename 1322337 32 73928 1396297 154e49 vmlinuxquoted
quoted
quoted
2422 bytes decrease vs ToT <<<After all patches applied with CONFIG_ANON_VMA_NAME=y text data bss dec hex filename 1325228 32 73928 1399188 155994 vmlinuxquoted
quoted
quoted
469 bytes increase vs ToT <<<
Nice. Presumably there are memory savings from no longer duplicating the vma names? I fudged up a [0/n] changelog (please don't forget this) and merged it all for testing.