mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-02-16 23:57:11 +00:00
core/linux-rpi: re-enable LRU_GEN by default for armv7h
This commit is contained in:
parent
73fc053739
commit
4e2be1fd1f
1 changed files with 5 additions and 3 deletions
|
@ -69,10 +69,12 @@ prepare() {
|
|||
if [[ $CARCH == "armv7h" ]]; then
|
||||
# https://archlinuxarm.org/forum/viewtopic.php?f=23&t=16373
|
||||
scripts/config --enable CONFIG_BCM2835_THERMAL
|
||||
# workaround OOM killer issue
|
||||
# https://github.com/raspberrypi/linux/issues/5395
|
||||
|
||||
# re-enable LRU_GEN by default as the intial observation that it was to blame
|
||||
# for triggering OOM was likely a false positive, see:
|
||||
# https://github.com/raspberrypi/linux/issues/5395#issuecomment-1854410361
|
||||
# https://archlinuxarm.org/forum/viewtopic.php?f=23&t=16377
|
||||
scripts/config --disable CONFIG_LRU_GEN_ENABLED
|
||||
scripts/config --enable CONFIG_LRU_GEN_ENABLED
|
||||
fi
|
||||
sed '/^CONFIG_LOCALVERSION=/s,.*$,CONFIG_LOCALVERSION="-ARCH",' .config >$startdir/newconfig.$_config
|
||||
echo "verify that newconfig.$_config is fit for purpose then redefine $_config"
|
||||
|
|
Loading…
Reference in a new issue