diff options
author | Darrick J. Wong <djwong@kernel.org> | 2021-07-27 17:09:59 -0700 |
---|---|---|
committer | Eryu Guan <guaneryu@gmail.com> | 2021-08-01 21:09:05 +0800 |
commit | 7446ce37eac47c5f68a1999c361335b5bd7edd4b (patch) | |
tree | 23c54ef514a4735bcedd3ad609753cab1118b349 /check | |
parent | 057869ad38aeed3091df8a54c1de8db3a4aa7ed8 (diff) | |
download | xfstests-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-x | check | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |