Skip to content

Commit

Permalink
Drop DAMON variable
Browse files Browse the repository at this point in the history
Signed-off-by: Peter Jung <[email protected]>
  • Loading branch information
ptr1337 committed Sep 22, 2024
1 parent 314f4dd commit 5734f0b
Show file tree
Hide file tree
Showing 25 changed files with 72 additions and 159 deletions.
2 changes: 1 addition & 1 deletion linux-cachyos-bmq/.SRCINFO
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ pkgbase = linux-cachyos-bmq
source = https://raw.githubusercontent.com/cachyos/kernel-patches/master/6.11/all/0001-cachyos-base-all.patch
source = https://raw.githubusercontent.com/cachyos/kernel-patches/master/6.11/sched/0001-prjc-cachy.patch
b2sums = e7750c0878d71a56a0ce52d4c4c912199dad5bf5e2e8f872585a6494afbb37cbd852e612a6858936d2dc9b7776a3933818f540db408d57e90d18ea5249bba7ab
b2sums = f91a4d1256ef17ea9be587678850cf2ac30a900071502ac74eb950537e4ce4167ecabbfa446127c6231a17ff7d1b286808aed5e6d3847cc85e366868c758852e
b2sums = b338ac759eaa3ff4c3fd34bea73fd4dbca1513d35b5a9e44cff1ac8ecb6d29f3db81e85a529fe854a20bc92aff19d215e578a47180242c9951879dd40f79e329
b2sums = b1e964389424d43c398a76e7cee16a643ac027722b91fe59022afacb19956db5856b2808ca0dd484f6d0dfc170482982678d7a9a00779d98cd62d5105200a667
b2sums = 9eb3b415c780a04ceb820531acbf0994df0f626af1f3a3186845e178d39602d132b09668ea2073a11d20abf394f2e479d765b3de06afca3ce22a99738d5c7f32
b2sums = d8fa4edb43b447e2fe47689e4c76df2584cd090354eae596aa09b41e127d5a38ebc2bb7a542e413953fbd79e2fef95e208b7e3f9ccb120c04063df0f38401a52
Expand Down
17 changes: 1 addition & 16 deletions linux-cachyos-bmq/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -90,9 +90,6 @@ _preempt=${_preempt-full}
# https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/performance_tuning_guide/sect-red_hat_enterprise_linux-performance_tuning_guide-configuring_transparent_huge_pages
_hugepage=${_hugepage-always}

## Enable DAMON
_damon=${_damon-}

# CPU compiler optimizations - Defaults to prompt at kernel config if left empty
# AMD CPUs : "k8" "k8sse3" "k10" "barcelona" "bobcat" "jaguar" "bulldozer" "piledriver" "steamroller" "excavator" "zen" "zen2" "zen3" "zen4"
# Intel CPUs : "mpsc"(P4 & older Netburst based Xeon) "atom" "core2" "nehalem" "westmere" "silvermont" "sandybridge" "ivybridge" "haswell" "broadwell" "skylake" "skylakex" "cannonlake" "icelake" "goldmont" "goldmontplus" "cascadelake" "cooperlake" "tigerlake" "sapphirerapids" "rocketlake" "alderlake"
Expand Down Expand Up @@ -457,18 +454,6 @@ prepare() {

echo "Selecting '$_hugepage' TRANSPARENT_HUGEPAGE config..."

### Enable DAMON
if [ -n "$_damon" ]; then
echo "Enabling DAMON..."
scripts/config -e DAMON \
-e DAMON_VADDR \
-e DAMON_DBGFS \
-e DAMON_SYSFS \
-e DAMON_PADDR \
-e DAMON_RECLAIM \
-e DAMON_LRU_SORT
fi

echo "Enable USER_NS_UNPRIVILEGED"
scripts/config -e USER_NS

Expand Down Expand Up @@ -783,7 +768,7 @@ for _p in "${pkgname[@]}"; do
done

b2sums=('e7750c0878d71a56a0ce52d4c4c912199dad5bf5e2e8f872585a6494afbb37cbd852e612a6858936d2dc9b7776a3933818f540db408d57e90d18ea5249bba7ab'
'f91a4d1256ef17ea9be587678850cf2ac30a900071502ac74eb950537e4ce4167ecabbfa446127c6231a17ff7d1b286808aed5e6d3847cc85e366868c758852e'
'b338ac759eaa3ff4c3fd34bea73fd4dbca1513d35b5a9e44cff1ac8ecb6d29f3db81e85a529fe854a20bc92aff19d215e578a47180242c9951879dd40f79e329'
'b1e964389424d43c398a76e7cee16a643ac027722b91fe59022afacb19956db5856b2808ca0dd484f6d0dfc170482982678d7a9a00779d98cd62d5105200a667'
'9eb3b415c780a04ceb820531acbf0994df0f626af1f3a3186845e178d39602d132b09668ea2073a11d20abf394f2e479d765b3de06afca3ce22a99738d5c7f32'
'd8fa4edb43b447e2fe47689e4c76df2584cd090354eae596aa09b41e127d5a38ebc2bb7a542e413953fbd79e2fef95e208b7e3f9ccb120c04063df0f38401a52')
8 changes: 7 additions & 1 deletion linux-cachyos-bmq/config
Original file line number Diff line number Diff line change
Expand Up @@ -1308,7 +1308,13 @@ CONFIG_EXECMEM=y
#
# Data Access Monitoring
#
# CONFIG_DAMON is not set
CONFIG_DAMON=y
CONFIG_DAMON_VADDR=y
CONFIG_DAMON_PADDR=y
CONFIG_DAMON_SYSFS=y
# CONFIG_DAMON_DBGFS_DEPRECATED is not set
CONFIG_DAMON_RECLAIM=y
CONFIG_DAMON_LRU_SORT=y
# end of Data Access Monitoring
# end of Memory Management options

Expand Down
2 changes: 1 addition & 1 deletion linux-cachyos-bore/.SRCINFO
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ pkgbase = linux-cachyos-bore
source = https://raw.githubusercontent.com/cachyos/kernel-patches/master/6.11/all/0001-cachyos-base-all.patch
source = https://raw.githubusercontent.com/cachyos/kernel-patches/master/6.11/sched/0001-bore-cachy.patch
b2sums = e7750c0878d71a56a0ce52d4c4c912199dad5bf5e2e8f872585a6494afbb37cbd852e612a6858936d2dc9b7776a3933818f540db408d57e90d18ea5249bba7ab
b2sums = f91a4d1256ef17ea9be587678850cf2ac30a900071502ac74eb950537e4ce4167ecabbfa446127c6231a17ff7d1b286808aed5e6d3847cc85e366868c758852e
b2sums = b338ac759eaa3ff4c3fd34bea73fd4dbca1513d35b5a9e44cff1ac8ecb6d29f3db81e85a529fe854a20bc92aff19d215e578a47180242c9951879dd40f79e329
b2sums = b1e964389424d43c398a76e7cee16a643ac027722b91fe59022afacb19956db5856b2808ca0dd484f6d0dfc170482982678d7a9a00779d98cd62d5105200a667
b2sums = 9eb3b415c780a04ceb820531acbf0994df0f626af1f3a3186845e178d39602d132b09668ea2073a11d20abf394f2e479d765b3de06afca3ce22a99738d5c7f32
b2sums = 0f506ee8089c3824ce70b077c2c3094115744e4f08441f94e333f3aba42da5b4429818c00333b613175b59e5eb0d02187c57acc59e11879a6fe9b96e6278c6a1
Expand Down
17 changes: 1 addition & 16 deletions linux-cachyos-bore/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -90,9 +90,6 @@ _preempt=${_preempt-full}
# https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/performance_tuning_guide/sect-red_hat_enterprise_linux-performance_tuning_guide-configuring_transparent_huge_pages
_hugepage=${_hugepage-always}

## Enable DAMON
_damon=${_damon-}

# CPU compiler optimizations - Defaults to prompt at kernel config if left empty
# AMD CPUs : "k8" "k8sse3" "k10" "barcelona" "bobcat" "jaguar" "bulldozer" "piledriver" "steamroller" "excavator" "zen" "zen2" "zen3" "zen4"
# Intel CPUs : "mpsc"(P4 & older Netburst based Xeon) "atom" "core2" "nehalem" "westmere" "silvermont" "sandybridge" "ivybridge" "haswell" "broadwell" "skylake" "skylakex" "cannonlake" "icelake" "goldmont" "goldmontplus" "cascadelake" "cooperlake" "tigerlake" "sapphirerapids" "rocketlake" "alderlake"
Expand Down Expand Up @@ -457,18 +454,6 @@ prepare() {

echo "Selecting '$_hugepage' TRANSPARENT_HUGEPAGE config..."

### Enable DAMON
if [ -n "$_damon" ]; then
echo "Enabling DAMON..."
scripts/config -e DAMON \
-e DAMON_VADDR \
-e DAMON_DBGFS \
-e DAMON_SYSFS \
-e DAMON_PADDR \
-e DAMON_RECLAIM \
-e DAMON_LRU_SORT
fi

echo "Enable USER_NS_UNPRIVILEGED"
scripts/config -e USER_NS

Expand Down Expand Up @@ -783,7 +768,7 @@ for _p in "${pkgname[@]}"; do
done

b2sums=('e7750c0878d71a56a0ce52d4c4c912199dad5bf5e2e8f872585a6494afbb37cbd852e612a6858936d2dc9b7776a3933818f540db408d57e90d18ea5249bba7ab'
'f91a4d1256ef17ea9be587678850cf2ac30a900071502ac74eb950537e4ce4167ecabbfa446127c6231a17ff7d1b286808aed5e6d3847cc85e366868c758852e'
'b338ac759eaa3ff4c3fd34bea73fd4dbca1513d35b5a9e44cff1ac8ecb6d29f3db81e85a529fe854a20bc92aff19d215e578a47180242c9951879dd40f79e329'
'b1e964389424d43c398a76e7cee16a643ac027722b91fe59022afacb19956db5856b2808ca0dd484f6d0dfc170482982678d7a9a00779d98cd62d5105200a667'
'9eb3b415c780a04ceb820531acbf0994df0f626af1f3a3186845e178d39602d132b09668ea2073a11d20abf394f2e479d765b3de06afca3ce22a99738d5c7f32'
'0f506ee8089c3824ce70b077c2c3094115744e4f08441f94e333f3aba42da5b4429818c00333b613175b59e5eb0d02187c57acc59e11879a6fe9b96e6278c6a1')
8 changes: 7 additions & 1 deletion linux-cachyos-bore/config
Original file line number Diff line number Diff line change
Expand Up @@ -1308,7 +1308,13 @@ CONFIG_EXECMEM=y
#
# Data Access Monitoring
#
# CONFIG_DAMON is not set
CONFIG_DAMON=y
CONFIG_DAMON_VADDR=y
CONFIG_DAMON_PADDR=y
CONFIG_DAMON_SYSFS=y
# CONFIG_DAMON_DBGFS_DEPRECATED is not set
CONFIG_DAMON_RECLAIM=y
CONFIG_DAMON_LRU_SORT=y
# end of Data Access Monitoring
# end of Memory Management options

Expand Down
2 changes: 1 addition & 1 deletion linux-cachyos-eevdf/.SRCINFO
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ pkgbase = linux-cachyos-eevdf
source = https://raw.githubusercontent.com/cachyos/kernel-patches/master/6.11/all/0001-cachyos-base-all.patch
source = https://raw.githubusercontent.com/cachyos/kernel-patches/master/6.11/sched/0001-eevdf-next.patch
b2sums = e7750c0878d71a56a0ce52d4c4c912199dad5bf5e2e8f872585a6494afbb37cbd852e612a6858936d2dc9b7776a3933818f540db408d57e90d18ea5249bba7ab
b2sums = f91a4d1256ef17ea9be587678850cf2ac30a900071502ac74eb950537e4ce4167ecabbfa446127c6231a17ff7d1b286808aed5e6d3847cc85e366868c758852e
b2sums = b338ac759eaa3ff4c3fd34bea73fd4dbca1513d35b5a9e44cff1ac8ecb6d29f3db81e85a529fe854a20bc92aff19d215e578a47180242c9951879dd40f79e329
b2sums = b1e964389424d43c398a76e7cee16a643ac027722b91fe59022afacb19956db5856b2808ca0dd484f6d0dfc170482982678d7a9a00779d98cd62d5105200a667
b2sums = 9eb3b415c780a04ceb820531acbf0994df0f626af1f3a3186845e178d39602d132b09668ea2073a11d20abf394f2e479d765b3de06afca3ce22a99738d5c7f32
b2sums = b80a343bc571f5f842d3390c8754bbf2b98c8f74beae2e7834a84d91c30d706bf3bf7a719414603b8b2218b2166ce9687d1d5bb36824cc9488d257a853372c5e
Expand Down
17 changes: 1 addition & 16 deletions linux-cachyos-eevdf/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -90,9 +90,6 @@ _preempt=${_preempt-full}
# https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/performance_tuning_guide/sect-red_hat_enterprise_linux-performance_tuning_guide-configuring_transparent_huge_pages
_hugepage=${_hugepage-always}

## Enable DAMON
_damon=${_damon-}

# CPU compiler optimizations - Defaults to prompt at kernel config if left empty
# AMD CPUs : "k8" "k8sse3" "k10" "barcelona" "bobcat" "jaguar" "bulldozer" "piledriver" "steamroller" "excavator" "zen" "zen2" "zen3" "zen4"
# Intel CPUs : "mpsc"(P4 & older Netburst based Xeon) "atom" "core2" "nehalem" "westmere" "silvermont" "sandybridge" "ivybridge" "haswell" "broadwell" "skylake" "skylakex" "cannonlake" "icelake" "goldmont" "goldmontplus" "cascadelake" "cooperlake" "tigerlake" "sapphirerapids" "rocketlake" "alderlake"
Expand Down Expand Up @@ -457,18 +454,6 @@ prepare() {

echo "Selecting '$_hugepage' TRANSPARENT_HUGEPAGE config..."

### Enable DAMON
if [ -n "$_damon" ]; then
echo "Enabling DAMON..."
scripts/config -e DAMON \
-e DAMON_VADDR \
-e DAMON_DBGFS \
-e DAMON_SYSFS \
-e DAMON_PADDR \
-e DAMON_RECLAIM \
-e DAMON_LRU_SORT
fi

echo "Enable USER_NS_UNPRIVILEGED"
scripts/config -e USER_NS

Expand Down Expand Up @@ -783,7 +768,7 @@ for _p in "${pkgname[@]}"; do
done

b2sums=('e7750c0878d71a56a0ce52d4c4c912199dad5bf5e2e8f872585a6494afbb37cbd852e612a6858936d2dc9b7776a3933818f540db408d57e90d18ea5249bba7ab'
'f91a4d1256ef17ea9be587678850cf2ac30a900071502ac74eb950537e4ce4167ecabbfa446127c6231a17ff7d1b286808aed5e6d3847cc85e366868c758852e'
'b338ac759eaa3ff4c3fd34bea73fd4dbca1513d35b5a9e44cff1ac8ecb6d29f3db81e85a529fe854a20bc92aff19d215e578a47180242c9951879dd40f79e329'
'b1e964389424d43c398a76e7cee16a643ac027722b91fe59022afacb19956db5856b2808ca0dd484f6d0dfc170482982678d7a9a00779d98cd62d5105200a667'
'9eb3b415c780a04ceb820531acbf0994df0f626af1f3a3186845e178d39602d132b09668ea2073a11d20abf394f2e479d765b3de06afca3ce22a99738d5c7f32'
'b80a343bc571f5f842d3390c8754bbf2b98c8f74beae2e7834a84d91c30d706bf3bf7a719414603b8b2218b2166ce9687d1d5bb36824cc9488d257a853372c5e')
8 changes: 7 additions & 1 deletion linux-cachyos-eevdf/config
Original file line number Diff line number Diff line change
Expand Up @@ -1308,7 +1308,13 @@ CONFIG_EXECMEM=y
#
# Data Access Monitoring
#
# CONFIG_DAMON is not set
CONFIG_DAMON=y
CONFIG_DAMON_VADDR=y
CONFIG_DAMON_PADDR=y
CONFIG_DAMON_SYSFS=y
# CONFIG_DAMON_DBGFS_DEPRECATED is not set
CONFIG_DAMON_RECLAIM=y
CONFIG_DAMON_LRU_SORT=y
# end of Data Access Monitoring
# end of Memory Management options

Expand Down
15 changes: 0 additions & 15 deletions linux-cachyos-hardened/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -90,9 +90,6 @@ _preempt=${_preempt-full}
# https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/performance_tuning_guide/sect-red_hat_enterprise_linux-performance_tuning_guide-configuring_transparent_huge_pages
_hugepage=${_hugepage-madvise}

## Enable DAMON
_damon=${_damon-}

# CPU compiler optimizations - Defaults to prompt at kernel config if left empty
# AMD CPUs : "k8" "k8sse3" "k10" "barcelona" "bobcat" "jaguar" "bulldozer" "piledriver" "steamroller" "excavator" "zen" "zen2" "zen3" "zen4"
# Intel CPUs : "mpsc"(P4 & older Netburst based Xeon) "atom" "core2" "nehalem" "westmere" "silvermont" "sandybridge" "ivybridge" "haswell" "broadwell" "skylake" "skylakex" "cannonlake" "icelake" "goldmont" "goldmontplus" "cascadelake" "cooperlake" "tigerlake" "sapphirerapids" "rocketlake" "alderlake"
Expand Down Expand Up @@ -453,18 +450,6 @@ prepare() {

echo "Selecting '$_hugepage' TRANSPARENT_HUGEPAGE config..."

### Enable DAMON
if [ -n "$_damon" ]; then
echo "Enabling DAMON..."
scripts/config -e DAMON \
-e DAMON_VADDR \
-e DAMON_DBGFS \
-e DAMON_SYSFS \
-e DAMON_PADDR \
-e DAMON_RECLAIM \
-e DAMON_LRU_SORT
fi

echo "Enable USER_NS_UNPRIVILEGED"
scripts/config -e USER_NS

Expand Down
2 changes: 1 addition & 1 deletion linux-cachyos-rc/.SRCINFO
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ pkgbase = linux-cachyos-rc
source = https://raw.githubusercontent.com/cachyos/kernel-patches/master/6.11/sched/0001-sched-ext.patch
source = https://raw.githubusercontent.com/cachyos/kernel-patches/master/6.11/sched/0001-bore-cachy-ext.patch
b2sums = 847fd50b3e3a464350bfd8cf14b879a3751866e7c591bf7971536898cd8c653b1c8e3bc95cacc10a38f4717e07bd2e38d31f5d4b587c619670545ac4326791c2
b2sums = f91a4d1256ef17ea9be587678850cf2ac30a900071502ac74eb950537e4ce4167ecabbfa446127c6231a17ff7d1b286808aed5e6d3847cc85e366868c758852e
b2sums = b338ac759eaa3ff4c3fd34bea73fd4dbca1513d35b5a9e44cff1ac8ecb6d29f3db81e85a529fe854a20bc92aff19d215e578a47180242c9951879dd40f79e329
b2sums = b1e964389424d43c398a76e7cee16a643ac027722b91fe59022afacb19956db5856b2808ca0dd484f6d0dfc170482982678d7a9a00779d98cd62d5105200a667
b2sums = 9eb3b415c780a04ceb820531acbf0994df0f626af1f3a3186845e178d39602d132b09668ea2073a11d20abf394f2e479d765b3de06afca3ce22a99738d5c7f32
b2sums = 1c053768249d608a69144c005d653839a6d56f757ef36ebf6089f6754332a4247d5509bb9e6d2ab4a0518960fac24bf2536c0b817284bd9c9ca5b4732943b365
Expand Down
17 changes: 1 addition & 16 deletions linux-cachyos-rc/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -90,9 +90,6 @@ _preempt=${_preempt-full}
# https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/performance_tuning_guide/sect-red_hat_enterprise_linux-performance_tuning_guide-configuring_transparent_huge_pages
_hugepage=${_hugepage-always}

## Enable DAMON
_damon=${_damon-}

# CPU compiler optimizations - Defaults to prompt at kernel config if left empty
# AMD CPUs : "k8" "k8sse3" "k10" "barcelona" "bobcat" "jaguar" "bulldozer" "piledriver" "steamroller" "excavator" "zen" "zen2" "zen3" "zen4"
# Intel CPUs : "mpsc"(P4 & older Netburst based Xeon) "atom" "core2" "nehalem" "westmere" "silvermont" "sandybridge" "ivybridge" "haswell" "broadwell" "skylake" "skylakex" "cannonlake" "icelake" "goldmont" "goldmontplus" "cascadelake" "cooperlake" "tigerlake" "sapphirerapids" "rocketlake" "alderlake"
Expand Down Expand Up @@ -457,18 +454,6 @@ prepare() {

echo "Selecting '$_hugepage' TRANSPARENT_HUGEPAGE config..."

### Enable DAMON
if [ -n "$_damon" ]; then
echo "Enabling DAMON..."
scripts/config -e DAMON \
-e DAMON_VADDR \
-e DAMON_DBGFS \
-e DAMON_SYSFS \
-e DAMON_PADDR \
-e DAMON_RECLAIM \
-e DAMON_LRU_SORT
fi

echo "Enable USER_NS_UNPRIVILEGED"
scripts/config -e USER_NS

Expand Down Expand Up @@ -783,7 +768,7 @@ for _p in "${pkgname[@]}"; do
done

b2sums=('847fd50b3e3a464350bfd8cf14b879a3751866e7c591bf7971536898cd8c653b1c8e3bc95cacc10a38f4717e07bd2e38d31f5d4b587c619670545ac4326791c2'
'f91a4d1256ef17ea9be587678850cf2ac30a900071502ac74eb950537e4ce4167ecabbfa446127c6231a17ff7d1b286808aed5e6d3847cc85e366868c758852e'
'b338ac759eaa3ff4c3fd34bea73fd4dbca1513d35b5a9e44cff1ac8ecb6d29f3db81e85a529fe854a20bc92aff19d215e578a47180242c9951879dd40f79e329'
'b1e964389424d43c398a76e7cee16a643ac027722b91fe59022afacb19956db5856b2808ca0dd484f6d0dfc170482982678d7a9a00779d98cd62d5105200a667'
'9eb3b415c780a04ceb820531acbf0994df0f626af1f3a3186845e178d39602d132b09668ea2073a11d20abf394f2e479d765b3de06afca3ce22a99738d5c7f32'
'1c053768249d608a69144c005d653839a6d56f757ef36ebf6089f6754332a4247d5509bb9e6d2ab4a0518960fac24bf2536c0b817284bd9c9ca5b4732943b365'
Expand Down
8 changes: 7 additions & 1 deletion linux-cachyos-rc/config
Original file line number Diff line number Diff line change
Expand Up @@ -1308,7 +1308,13 @@ CONFIG_EXECMEM=y
#
# Data Access Monitoring
#
# CONFIG_DAMON is not set
CONFIG_DAMON=y
CONFIG_DAMON_VADDR=y
CONFIG_DAMON_PADDR=y
CONFIG_DAMON_SYSFS=y
# CONFIG_DAMON_DBGFS_DEPRECATED is not set
CONFIG_DAMON_RECLAIM=y
CONFIG_DAMON_LRU_SORT=y
# end of Data Access Monitoring
# end of Memory Management options

Expand Down
2 changes: 1 addition & 1 deletion linux-cachyos-rt-bore/.SRCINFO
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ pkgbase = linux-cachyos-rt-bore
source = https://raw.githubusercontent.com/cachyos/kernel-patches/master/6.11/sched/0001-bore-cachy-rt.patch
source = linux-cachyos-rt.install
b2sums = e7750c0878d71a56a0ce52d4c4c912199dad5bf5e2e8f872585a6494afbb37cbd852e612a6858936d2dc9b7776a3933818f540db408d57e90d18ea5249bba7ab
b2sums = f91a4d1256ef17ea9be587678850cf2ac30a900071502ac74eb950537e4ce4167ecabbfa446127c6231a17ff7d1b286808aed5e6d3847cc85e366868c758852e
b2sums = b338ac759eaa3ff4c3fd34bea73fd4dbca1513d35b5a9e44cff1ac8ecb6d29f3db81e85a529fe854a20bc92aff19d215e578a47180242c9951879dd40f79e329
b2sums = b1e964389424d43c398a76e7cee16a643ac027722b91fe59022afacb19956db5856b2808ca0dd484f6d0dfc170482982678d7a9a00779d98cd62d5105200a667
b2sums = 9eb3b415c780a04ceb820531acbf0994df0f626af1f3a3186845e178d39602d132b09668ea2073a11d20abf394f2e479d765b3de06afca3ce22a99738d5c7f32
b2sums = 064585ccdd4c371439918b8c737dd7b03fec4bb81d836eeffaa5a4e25e8c499c186b514efc59b12257cda1fe4e0f210bb3e86548c91fdd611244bd3a32373bc6
Expand Down
17 changes: 1 addition & 16 deletions linux-cachyos-rt-bore/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -90,9 +90,6 @@ _preempt=${_preempt-full}
# https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/performance_tuning_guide/sect-red_hat_enterprise_linux-performance_tuning_guide-configuring_transparent_huge_pages
_hugepage=${_hugepage-always}

## Enable DAMON
_damon=${_damon-}

# CPU compiler optimizations - Defaults to prompt at kernel config if left empty
# AMD CPUs : "k8" "k8sse3" "k10" "barcelona" "bobcat" "jaguar" "bulldozer" "piledriver" "steamroller" "excavator" "zen" "zen2" "zen3" "zen4"
# Intel CPUs : "mpsc"(P4 & older Netburst based Xeon) "atom" "core2" "nehalem" "westmere" "silvermont" "sandybridge" "ivybridge" "haswell" "broadwell" "skylake" "skylakex" "cannonlake" "icelake" "goldmont" "goldmontplus" "cascadelake" "cooperlake" "tigerlake" "sapphirerapids" "rocketlake" "alderlake"
Expand Down Expand Up @@ -457,18 +454,6 @@ prepare() {

echo "Selecting '$_hugepage' TRANSPARENT_HUGEPAGE config..."

### Enable DAMON
if [ -n "$_damon" ]; then
echo "Enabling DAMON..."
scripts/config -e DAMON \
-e DAMON_VADDR \
-e DAMON_DBGFS \
-e DAMON_SYSFS \
-e DAMON_PADDR \
-e DAMON_RECLAIM \
-e DAMON_LRU_SORT
fi

echo "Enable USER_NS_UNPRIVILEGED"
scripts/config -e USER_NS

Expand Down Expand Up @@ -783,7 +768,7 @@ for _p in "${pkgname[@]}"; do
done

b2sums=('e7750c0878d71a56a0ce52d4c4c912199dad5bf5e2e8f872585a6494afbb37cbd852e612a6858936d2dc9b7776a3933818f540db408d57e90d18ea5249bba7ab'
'f91a4d1256ef17ea9be587678850cf2ac30a900071502ac74eb950537e4ce4167ecabbfa446127c6231a17ff7d1b286808aed5e6d3847cc85e366868c758852e'
'b338ac759eaa3ff4c3fd34bea73fd4dbca1513d35b5a9e44cff1ac8ecb6d29f3db81e85a529fe854a20bc92aff19d215e578a47180242c9951879dd40f79e329'
'b1e964389424d43c398a76e7cee16a643ac027722b91fe59022afacb19956db5856b2808ca0dd484f6d0dfc170482982678d7a9a00779d98cd62d5105200a667'
'9eb3b415c780a04ceb820531acbf0994df0f626af1f3a3186845e178d39602d132b09668ea2073a11d20abf394f2e479d765b3de06afca3ce22a99738d5c7f32'
'064585ccdd4c371439918b8c737dd7b03fec4bb81d836eeffaa5a4e25e8c499c186b514efc59b12257cda1fe4e0f210bb3e86548c91fdd611244bd3a32373bc6'
Expand Down
8 changes: 7 additions & 1 deletion linux-cachyos-rt-bore/config
Original file line number Diff line number Diff line change
Expand Up @@ -1308,7 +1308,13 @@ CONFIG_EXECMEM=y
#
# Data Access Monitoring
#
# CONFIG_DAMON is not set
CONFIG_DAMON=y
CONFIG_DAMON_VADDR=y
CONFIG_DAMON_PADDR=y
CONFIG_DAMON_SYSFS=y
# CONFIG_DAMON_DBGFS_DEPRECATED is not set
CONFIG_DAMON_RECLAIM=y
CONFIG_DAMON_LRU_SORT=y
# end of Data Access Monitoring
# end of Memory Management options

Expand Down
Loading

0 comments on commit 5734f0b

Please sign in to comment.