[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20211115211905.faef6f9db3ce4a6fb9ed66a2@linux-foundation.org>
Date: Mon, 15 Nov 2021 21:19:05 -0800
From: Andrew Morton <akpm@...ux-foundation.org>
To: Suren Baghdasaryan <surenb@...gle.com>
Cc: Colin Cross <ccross@...gle.com>,
Sumit Semwal <sumit.semwal@...aro.org>,
Michal Hocko <mhocko@...e.com>,
Dave Hansen <dave.hansen@...el.com>,
Kees Cook <keescook@...omium.org>,
Matthew Wilcox <willy@...radead.org>,
"Kirill A . Shutemov" <kirill.shutemov@...ux.intel.com>,
Vlastimil Babka <vbabka@...e.cz>,
Johannes Weiner <hannes@...xchg.org>,
Jonathan Corbet <corbet@....net>,
Al Viro <viro@...iv.linux.org.uk>,
Randy Dunlap <rdunlap@...radead.org>,
Kalesh Singh <kaleshsingh@...gle.com>,
Peter Xu <peterx@...hat.com>, rppt@...nel.org,
Peter Zijlstra <peterz@...radead.org>,
Catalin Marinas <catalin.marinas@....com>,
vincenzo.frascino@....com,
Chinwen Chang (張錦文)
<chinwen.chang@...iatek.com>,
Axel Rasmussen <axelrasmussen@...gle.com>,
Andrea Arcangeli <aarcange@...hat.com>,
Jann Horn <jannh@...gle.com>, apopple@...dia.com,
John Hubbard <jhubbard@...dia.com>,
Yu Zhao <yuzhao@...gle.com>, Will Deacon <will@...nel.org>,
fenghua.yu@...el.com, thunder.leizhen@...wei.com,
Hugh Dickins <hughd@...gle.com>, feng.tang@...el.com,
Jason Gunthorpe <jgg@...pe.ca>, Roman Gushchin <guro@...com>,
Thomas Gleixner <tglx@...utronix.de>, krisman@...labora.com,
Chris Hyser <chris.hyser@...cle.com>,
Peter Collingbourne <pcc@...gle.com>,
"Eric W. Biederman" <ebiederm@...ssion.com>,
Jens Axboe <axboe@...nel.dk>, legion@...nel.org,
Rolf Eike Beer <eb@...ix.com>,
Cyrill Gorcunov <gorcunov@...il.com>,
Pavel Machek <pavel@....cz>,
Muchun Song <songmuchun@...edance.com>,
Viresh Kumar <viresh.kumar@...aro.org>,
Thomas Cedeno <thomascedeno@...gle.com>, sashal@...nel.org,
cxfcosmos@...il.com, Rasmus Villemoes <linux@...musvillemoes.dk>,
LKML <linux-kernel@...r.kernel.org>,
linux-fsdevel@...r.kernel.org, linux-doc@...r.kernel.org,
linux-mm <linux-mm@...ck.org>,
kernel-team <kernel-team@...roid.com>
Subject: Re: [PATCH v11 2/3] mm: add a field to store names for private
anonymous memory
On Tue, 19 Oct 2021 14:58:36 -0700 Suren Baghdasaryan <surenb@...gle.com> 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 vmlinux
> >>> 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
> >>> 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
> >>> 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.
Powered by blists - more mailing lists