From 0b7d3b9bd892d8d8035153b4aa8b8bc4fc2b174c Mon Sep 17 00:00:00 2001 From: Tk-Glitch Date: Sun, 24 Jul 2022 14:03:59 +0200 Subject: [PATCH] Add a comment regarding MGLRU's benefits --- customization.cfg | 2 +- linux-tkg-config/prepare | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/customization.cfg b/customization.cfg index c411baf..1069cb5 100644 --- a/customization.cfg +++ b/customization.cfg @@ -150,7 +150,7 @@ _acs_override="" # Set to "true" to add Bcache filesystem support. You'll have to install bcachefs-tools-git from AUR for utilities - https://bcachefs.org/ - If in doubt, set to "false" _bcachefs="" -# Set to "true" to add multi-generational LRU framework support on kernel 5.18+ - https://lore.kernel.org/lkml/20220706220022.968789-1-yuzhao@google.com/ +# Set to "true" to add multi-generational LRU framework support on kernel 5.18+ - Improves memory pressure handling - https://lore.kernel.org/lkml/20220706220022.968789-1-yuzhao@google.com/ # Older kernel versions might have a patch available in the community-patches repo # ! This option will be disabled when bcachefs is enabled for now ! _mglru="true" diff --git a/linux-tkg-config/prepare b/linux-tkg-config/prepare index ff9e193..8af421e 100644 --- a/linux-tkg-config/prepare +++ b/linux-tkg-config/prepare @@ -1186,7 +1186,7 @@ _tkg_srcprep() { if [ -e "$tkgpatch" ] && [ "$_bcachefs" != "true" ] && [[ ! "$CONDITION8" =~ [yY] ]]; then if [ -z "$_mglru" ]; then plain "" - plain "Add multi-generational LRU framework support? " + plain "Add multi-generational LRU framework support (improving memory pressure handling)? " plain "https://lore.kernel.org/lkml/20220706220022.968789-1-yuzhao@google.com/" read -rp "`echo $' > N/y : '`" CONDITION_mglru; fi