aboutsummaryrefslogtreecommitdiffstats
path: root/check
diff options
context:
space:
mode:
authorDarrick J. Wong <djwong@kernel.org>2021-07-27 17:09:59 -0700
committerEryu Guan <guaneryu@gmail.com>2021-08-01 21:09:05 +0800
commit7446ce37eac47c5f68a1999c361335b5bd7edd4b (patch)
tree23c54ef514a4735bcedd3ad609753cab1118b349 /check
parent057869ad38aeed3091df8a54c1de8db3a4aa7ed8 (diff)
downloadxfstests-dev-7446ce37eac47c5f68a1999c361335b5bd7edd4b.tar.gz
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 <djwong@kernel.org> Reviewed-by: Eryu Guan <guaneryu@gmail.com> Signed-off-by: Eryu Guan <guaneryu@gmail.com>
Diffstat (limited to 'check')
-rwxr-xr-xcheck2
1 files changed, 1 insertions, 1 deletions
diff --git a/check b/check
index 242cb8c1e6..a08631213c 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