Re: [PATCH 2/4] mm: no more EINVAL from /proc/sys/vm/stat_refresh

2021-02-28 Thread Roman Gushchin
On Thu, Feb 25, 2021 at 03:12:10PM -0800, Hugh Dickins wrote: > EINVAL was good for drawing the refresher's attention to a warning in > dmesg, but became very tiresome when running test suites scripted with > "set -e": an underflow from a bug in one feature would cause unrelated > tests much later

[PATCH 2/4] mm: no more EINVAL from /proc/sys/vm/stat_refresh

2021-02-25 Thread Hugh Dickins
EINVAL was good for drawing the refresher's attention to a warning in dmesg, but became very tiresome when running test suites scripted with "set -e": an underflow from a bug in one feature would cause unrelated tests much later to fail, just because their /proc/sys/vm/stat_refresh touch failed