Thread (10 messages) 10 messages, 3 authors, 2025-03-21

Re: [RFC 2/3] mm: introduce GCMA

From: Suren Baghdasaryan <surenb@google.com>
Date: 2025-03-21 16:13:22
Also in: linux-block, linux-fsdevel, linux-iommu, linux-mm, lkml

On Thu, Mar 20, 2025 at 10:14 PM Christoph Hellwig [off-list ref] wrote:
On Thu, Mar 20, 2025 at 10:39:30AM -0700, Suren Baghdasaryan wrote:
quoted
From: Minchan Kim <redacted>

This patch introduces GCMA (Guaranteed Contiguous Memory Allocator)
cleacache backend which reserves some amount of memory at the boot
and then donates it to store clean file-backed pages in the cleancache.
GCMA aims to guarantee contiguous memory allocation success as well as
low and deterministic allocation latency.

Notes:
Originally, the idea was posted by SeongJae Park and Minchan Kim [1].
Later Minchan reworked it to be used in Android as a reference for
Android vendors to use [2].
That is not a very good summay.  It needs to explain how you ensure
that the pages do stay clean forever.
Sure, I'm happy to improve the description. Do you want more details
about how only clean pages end up in the cleancache and how they get
invalidated once the original page gets modified? Or is the concern
that donated pages might be changed by the donor without taking them
away from the cleancache?
  
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help