[PATCH v5 0/2] Anonymous VMA naming patches

From: Sumit Semwal
Date: Wed Aug 19 2020 - 10:17:13 EST


Last version v4 of these patches was sent by Colin Cross a long time ago [1]
and [2]. At the time, these patches were not merged, and it looks like they
just fell off the radar since.

In our efforts to run Android on mainline kernels, we realised that since past
some time, this patchset is needed for Android to boot, hence I am re-posting
it to try and get these discussed and hopefully merged.

I have rebased these for v5.9-rc1 and fixed minor updates as required.

[1]: https://lore.kernel.org/linux-mm/1383170047-21074-1-git-send-email-ccross@xxxxxxxxxxx/
[2]: https://lore.kernel.org/linux-mm/1383170047-21074-2-git-send-email-ccross@xxxxxxxxxxx/

Best,
Sumit.

Colin Cross (2):
mm: rearrange madvise code to allow for reuse
mm: add a field to store names for private anonymous memory

Documentation/filesystems/proc.rst | 2 +
fs/proc/task_mmu.c | 24 +-
include/linux/mm.h | 5 +-
include/linux/mm_types.h | 23 +-
include/uapi/linux/prctl.h | 3 +
kernel/sys.c | 32 +++
mm/interval_tree.c | 34 +--
mm/madvise.c | 356 +++++++++++++++++------------
mm/mempolicy.c | 3 +-
mm/mlock.c | 2 +-
mm/mmap.c | 38 +--
mm/mprotect.c | 2 +-
12 files changed, 340 insertions(+), 184 deletions(-)

--
2.28.0