linux518/519: Add MGLRU patchset on a toggle and enable by default - https://lore.kernel.org/lkml/20220706220022.968789-1-yuzhao@google.com/
We've been offering the patchset in community patches for a while now with very good feedback
This commit is contained in:
@@ -1181,6 +1181,24 @@ _tkg_srcprep() {
|
||||
fi
|
||||
fi
|
||||
|
||||
# MGLRU
|
||||
tkgpatch="$srcdir/0010-lru_${_basekernel}.patch"
|
||||
if [ -e "$tkgpatch" ] && [ "$_bcachefs" != "true" ] && [[ ! "$CONDITION8" =~ [yY] ]]; then
|
||||
if [ -z "$_mglru" ]; then
|
||||
plain ""
|
||||
plain "Add multi-generational LRU framework support? "
|
||||
plain "https://lore.kernel.org/lkml/20220706220022.968789-1-yuzhao@google.com/"
|
||||
read -rp "`echo $' > N/y : '`" CONDITION_mglru;
|
||||
fi
|
||||
if [[ "$CONDITION_mglru" =~ [yY] ]] || [ "$_mglru" = "true" ]; then
|
||||
_msg="Patching MGLRU in"
|
||||
_tkg_patcher
|
||||
|
||||
_enable "LRU_GEN" "LRU_GEN_ENABLED"
|
||||
_disable "LRU_GEN_STATS"
|
||||
fi
|
||||
fi
|
||||
|
||||
# futex_waitv support
|
||||
tkgpatch="$srcdir/0007-v${_basekernel}-futex_waitv.patch"
|
||||
if [ -e "$tkgpatch" ]; then
|
||||
|
Reference in New Issue
Block a user