On Thu, Mar 20, 2025 at 10:14 PM Christoph Hellwig <hch@xxxxxxxxxxxxx> wrote: > > On Thu, Mar 20, 2025 at 10:39:30AM -0700, Suren Baghdasaryan wrote: > > From: Minchan Kim <minchan@xxxxxxxxxx> > > > > 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? >