Re: [RFC 2/3] mm: introduce GCMA
From: Christoph Hellwig <hch@infradead.org>
Date: 2025-03-21 05:14:54
Also in:
linux-block, linux-fsdevel, linux-iommu, linux-mm, lkml
From: Christoph Hellwig <hch@infradead.org>
Date: 2025-03-21 05:14:54
Also in:
linux-block, linux-fsdevel, linux-iommu, linux-mm, lkml
On Thu, Mar 20, 2025 at 10:39:30AM -0700, Suren Baghdasaryan wrote:
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.