[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <YZN/BMImQqrK4MWm@dhcp22.suse.cz>
Date: Tue, 16 Nov 2021 10:51:00 +0100
From: Michal Hocko <mhocko@...e.com>
To: Suren Baghdasaryan <surenb@...gle.com>
Cc: akpm@...ux-foundation.org, Alexey Alexandrov <aalexand@...gle.com>,
ccross@...gle.com, sumit.semwal@...aro.org, dave.hansen@...el.com,
keescook@...omium.org, willy@...radead.org,
kirill.shutemov@...ux.intel.com, vbabka@...e.cz,
hannes@...xchg.org, corbet@....net, viro@...iv.linux.org.uk,
rdunlap@...radead.org, kaleshsingh@...gle.com, peterx@...hat.com,
rppt@...nel.org, peterz@...radead.org, catalin.marinas@....com,
vincenzo.frascino@....com, chinwen.chang@...iatek.com,
axelrasmussen@...gle.com, aarcange@...hat.com, jannh@...gle.com,
apopple@...dia.com, jhubbard@...dia.com, yuzhao@...gle.com,
will@...nel.org, fenghua.yu@...el.com, thunder.leizhen@...wei.com,
hughd@...gle.com, feng.tang@...el.com, jgg@...pe.ca, guro@...com,
tglx@...utronix.de, krisman@...labora.com, chris.hyser@...cle.com,
pcc@...gle.com, ebiederm@...ssion.com, axboe@...nel.dk,
legion@...nel.org, eb@...ix.com, gorcunov@...il.com, pavel@....cz,
songmuchun@...edance.com, viresh.kumar@...aro.org,
thomascedeno@...gle.com, sashal@...nel.org, cxfcosmos@...il.com,
linux@...musvillemoes.dk, linux-kernel@...r.kernel.org,
linux-fsdevel@...r.kernel.org, linux-doc@...r.kernel.org,
linux-mm@...ck.org, kernel-team@...roid.com
Subject: Re: [PATCH v11 2/3] mm: add a field to store names for private
anonymous memory
On Mon 15-11-21 10:59:20, Suren Baghdasaryan wrote:
[...]
> Hi Andrew,
> I haven't seen any feedback on my patchset for some time now. I think
> I addressed all the questions and comments (please correct me if I
> missed anything).
I believe the strings vs. ids have been mostly hand waved away. The
biggest argument for the former was convenience for developers to have
something human readable. There was no actual proposal about the naming
convention so we are relying on some unwritten rules or knowledge of the
code to be debugged to make human readable string human understandable
ones. I believe this has never been properly resolved except for - this
has been used in Android and working just fine. I am not convinced TBH.
So in the end we are adding a user interface that brings a runtime and
resource overhead that will be hard to change in the future. Reference
counting handles a part of that and that is nice but ids simply do not
have any of that.
> Can it be accepted as is or is there something I should address
> further?
Is the above reason to nack it? No, I do not think so. I just do not
feel like I want to ack it either. Concerns have been expressed and I
have to say that I would like a minimalistic approach much more. Also
extending ids into string is always possible. The other way around is
not possible.
--
Michal Hocko
SUSE Labs
Powered by blists - more mailing lists