mm-no-more-einval-from-proc-sys-vm-stat_refresh.patch removed from -mm tree
The patch titled
Subject: mm: no more EINVAL from /proc/sys/vm/stat_refresh
has been removed from the -mm tree. Its filename was
mm-no-more-einval-from-proc-sys-vm-stat_refresh.patch
This patch was dropped because it was merged into mainline or a subsystem tree
------------------------------------------------------
From: Hugh Dickins <[email protected]>
Subject: mm: no more EINVAL from /proc/sys/vm/stat_refresh
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 with that error. Stop doing that.
---
mm/vmstat.c | 5 ----- 1 file changed, 5 deletions(-)
mm/vmstat.c renamed from mm/vmstat.c~mm-no-more-einval-from-proc-sys-vm-stat_refresh +0 -5
@@ -1862,7 +1862,6 @@ int vmstat_refresh(struct ctl_table *tabif (val <0 ) {pr_warn ("%s: %s %ld\n" , __func__,zone_stat_name (i), val); - err = -EINVAL ; } }#ifdef CONFIG_NUMA
@@ -1871,7 +1870,6 @@ int vmstat_refresh(struct ctl_table *tabif (val <0 ) {pr_warn ("%s: %s %ld\n" , __func__,numa_stat_name (i), val); - err = -EINVAL ; } }#endif
@@ -1880,11 +1878,8 @@ int vmstat_refresh(struct ctl_table *tabif (val <0 ) {pr_warn ("%s: %s %ld\n" , __func__,node_stat_name (i), val); - err = -EINVAL ; } } -if (err) -return err;if (write) *ppos += *lenp;else
_
Patches currently in -mm which might be from [email protected] are