Add a comment regarding MGLRU's benefits

This commit is contained in:
Tk-Glitch
2022-07-24 14:03:59 +02:00
parent a94830eb4a
commit 0b7d3b9bd8
2 changed files with 2 additions and 2 deletions

View File

@@ -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"

View File

@@ -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