From 7446ce37eac47c5f68a1999c361335b5bd7edd4b Mon Sep 17 00:00:00 2001 From: "Darrick J. Wong" Date: Tue, 27 Jul 2021 17:09:59 -0700 Subject: [PATCH] check: back off the OOM score adjustment to -500 Dave Chinner complained that fstests really shouldn't be running at -1000 oom score adjustment because that makes it more "important" than certain system daemons (e.g. journald, udev). That's true, so increase it to -500. Signed-off-by: Darrick J. Wong Reviewed-by: Eryu Guan Signed-off-by: Eryu Guan --- check | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/check b/check index 242cb8c1..a0863121 100755 --- a/check +++ b/check @@ -564,7 +564,7 @@ OOM_SCORE_ADJ="/proc/self/oom_score_adj" function _adjust_oom_score() { test -w "${OOM_SCORE_ADJ}" && echo "$1" > "${OOM_SCORE_ADJ}" } -_adjust_oom_score -1000 +_adjust_oom_score -500 # ...and make the tests themselves somewhat more attractive to it, so that if # the system runs out of memory it'll be the test that gets killed and not the -- 2.30.2