Thread (12 messages) 12 messages, 4 authors, 2021-11-16

Re: [PATCH v11 2/3] mm: add a field to store names for private anonymous memory

From: Suren Baghdasaryan <surenb@google.com>
Date: 2021-11-16 06:10:38
Also in: linux-doc, linux-fsdevel, lkml

On Mon, Nov 15, 2021 at 9:19 PM Andrew Morton [off-list ref] wrote:
On Tue, 19 Oct 2021 14:58:36 -0700 Suren Baghdasaryan [off-list ref] wrote:
quoted
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 vmlinux
quoted
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 vmlinux
quoted
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 vmlinux
quoted
quoted
quoted
469 bytes increase vs ToT <<<
Nice.  Presumably there are memory savings from no longer duplicating
the vma names?
The third patch does have this effect.
I fudged up a [0/n] changelog (please don't forget this) and merged it
all for testing.
Thanks!
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help