linux-postmarketos-allwinner: increase RCU stall timeouts (MR 5422)

This raises CONFIG_RCU_CPU_STALL_TIMEOUT from 21s to 60s and
CONFIG_RCU_EXP_CPU_STALL_TIMEOUT from 20ms to 60ms (the value `0` means
that it is set to the regular stall timeout divided by 1000).
The original values caused frequent kernel logs of
"rcu_preempt detected expedited stalls" while running CPU-intensive stuff
like waydroid and caused such processes or others like Phosh to crash.

The kernel defaults are 21 / 0 (21s / 21ms), though the config docs note that
the latter is "normally 20ms on Android devices". For what it's worth,
Debian 12's amd64 kernel uses the kernel defaults of 21 / 0 (21s / 21ms),
while OpenSUSE TW's amd64 kernel uses 60 / 0 (60s / 60ms) just like
this commit.

Ref: #2980
This commit is contained in:
Arnav Singh 2024-07-30 18:57:11 -07:00
parent e762e7a8a5
commit 0b48bdbaa5
No known key found for this signature in database
GPG key ID: 89A451A9C0E3AF0B
3 changed files with 7 additions and 7 deletions

View file

@ -4,7 +4,7 @@ _flavor=postmarketos-allwinner
_config="config-$_flavor.$CARCH"
pkgname=linux-$_flavor
pkgver=6.9.10_git20240721
pkgrel=0
pkgrel=1
_tag="orange-pi-6.9-20240721-2345"
pkgdesc="Kernel fork with Pine64 patches (megi's tree, slightly patched)"
arch="aarch64 armv7"
@ -82,8 +82,8 @@ package() {
sha512sums="
c6081383741fe883d8f6e223caa45d7ecf179f4cd0c759432bbbb2e43603088840393a0cf58735ab5dda4dbf5e2655d8c9b053a74b029ac4768c200ff6ca6f65 linux-postmarketos-allwinner-orange-pi-6.9-20240721-2345.tar.gz
97f38f22c52578144a719dac157c3580ed55935c45c5c913f48664efa05157b46995908a19bcef8f27a26342757eb7447f7fd106e525523f56343f48f29e4b68 config-postmarketos-allwinner.aarch64
46b613469dc4c8f22bf03b143bd8822c2afc5993fd1ef3ed58bd681469ee283ed26c8e6ba4cb5a7eee5dcf0474dede72e39c4f65931baec00bfc05b8452776fe config-postmarketos-allwinner.armv7
605c137b5878592eacf9706bcc449e9fd326aa8f0bf9f2c1ba368d46ba08ecae2dd9257c97b3e0c17ed799817cc12b409cba92aaf3c85400ec3a24209134664b config-postmarketos-allwinner.aarch64
06fc73744c037f01d4acb284a896afe9fa18705e45cff0da433724072fc327c6616573af3a9cc1d67e1651157e8df1a1fe0f3d968a37abefe650fdeab26d948e config-postmarketos-allwinner.armv7
a1fe1a21c34062eb92b6a4a9d2ef330d0e745859af283ccf05fc899ec263f9d452c1399c29620a0e4c748eca4b0c13645668b2fc0dc72f5703426d472f1294be 0001-dts-add-dontbeevil-pinephone-devkit.patch
0ef26b34fa834c119ebff6daa27b1dd3fac27448d6a40c0b2022a00c239dad0ef3e2b3ab3f9eec5460f921c9c6ea21db360adc175a7e658d5c34c5d0aacc498f 0002-dts-add-pinetab-dev-old-display-panel.patch
d37d929100a9de9431cc3cef6b714b61b5af9633e35a2880fcc8b60279fdc9ab65198fa70d01e070a9f263818d994b9b851973bb079ddea1ca66d2b7964f365d 0003-dts-pinetab-add-missing-ohci1.patch

View file

@ -6689,8 +6689,8 @@ CONFIG_STACKTRACE=y
#
# RCU Debugging
#
CONFIG_RCU_CPU_STALL_TIMEOUT=21
CONFIG_RCU_EXP_CPU_STALL_TIMEOUT=20
CONFIG_RCU_CPU_STALL_TIMEOUT=60
CONFIG_RCU_EXP_CPU_STALL_TIMEOUT=0
# CONFIG_RCU_CPU_STALL_CPUTIME is not set
# end of RCU Debugging

View file

@ -6440,8 +6440,8 @@ CONFIG_STACKTRACE=y
#
# RCU Debugging
#
CONFIG_RCU_CPU_STALL_TIMEOUT=21
CONFIG_RCU_EXP_CPU_STALL_TIMEOUT=20
CONFIG_RCU_CPU_STALL_TIMEOUT=60
CONFIG_RCU_EXP_CPU_STALL_TIMEOUT=0
# CONFIG_RCU_CPU_STALL_CPUTIME is not set
# end of RCU Debugging