mm-multi-gen-lru-section-for-bloom-filters.patch removed from -mm tree
The quilt patch titled
Subject: mm: multi-gen LRU: section for Bloom filters
has been removed from the -mm tree. Its filename was
mm-multi-gen-lru-section-for-bloom-filters.patch
This patch was dropped because it was merged into the mm-stable branch of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
------------------------------------------------------
From: "T.J. Alumbaugh" <[email protected]>
Subject: mm: multi-gen LRU: section for Bloom filters
Date: Wed, 18 Jan 2023 00:18:23 +0000
Move Bloom filters code into a dedicated section. Improve the design doc to explain Bloom filter usage and connection between aging and eviction in their use.
---
Documentation/mm/multigen_lru.rst renamed from Documentation/mm/multigen_lru.rst~mm-multi-gen-lru-section-for-bloom-filters +16 -0
@@ -170,6 +170,22 @@ promotes hot pages. If the scan was done adds the PMD entry pointing to the PTE table to the Bloom filter. This forms a feedback loop between the eviction and the aging. +Bloom Filters +------------- +Bloom filters are a space and memory efficient data structure for set +membership test, i.e., test if an element is not in the set or may be +in the set. + +In the eviction path, specifically, in ``lru_gen_look_around()``, if a +PMD has a sufficient number of hot pages, its address is placed in the +filter. In the aging path, set membership means that the PTE range +will be scanned for young pages. + +Note that Bloom filters are probabilistic on set membership. If a test +is false positive, the cost is an additional scan of a range of PTEs, +which may yield hot pages anyway. Parameters of the filter itself can +control the false positive rate in the limit. + Summary ------- The multi-gen LRU can be disassembled into the following parts:
mm/vmscan.c renamed from mm/vmscan.c~mm-multi-gen-lru-section-for-bloom-filters +92 -88
192 lines not on this page · raw message
_
Patches currently in -mm which might be from [email protected] are