* + mm-move-page-writeback-sysctls-to-is-own-file-fix.patch added to -mm tree
@ 2022-01-31 23:24 Andrew Morton
0 siblings, 0 replies; only message in thread
From: Andrew Morton @ 2022-01-31 23:24 UTC (permalink / raw)
To: mm-commits, zhanglianjie, yzaikin, mcgrof, keescook, akpm, akpm
The patch titled
Subject: mm-move-page-writeback-sysctls-to-is-own-file-fix
has been added to the -mm tree. Its filename is
mm-move-page-writeback-sysctls-to-is-own-file-fix.patch
This patch should soon appear at
https://ozlabs.org/~akpm/mmots/broken-out/mm-move-page-writeback-sysctls-to-is-own-file-fix.patch
and later at
https://ozlabs.org/~akpm/mmotm/broken-out/mm-move-page-writeback-sysctls-to-is-own-file-fix.patch
Before you just go and hit "reply", please:
a) Consider who else should be cc'ed
b) Prefer to cc a suitable mailing list as well
c) Ideally: find the original patch on the mailing list and do a
reply-to-all to that, adding suitable additional cc's
*** Remember to use Documentation/process/submit-checklist.rst when testing your code ***
The -mm tree is included into linux-next and is updated
there every 3-4 working days
------------------------------------------------------
From: Andrew Morton <akpm@linux-foundation.org>
Subject: mm-move-page-writeback-sysctls-to-is-own-file-fix
fix CONFIG_SYSCTL=n warnings
Cc: Iurii Zaikin <yzaikin@google.com>
Cc: Kees Cook <keescook@chromium.org>
Cc: Luis Chamberlain <mcgrof@kernel.org>
Cc: zhanglianjie <zhanglianjie@uniontech.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
mm/page-writeback.c | 4 ++++
1 file changed, 4 insertions(+)
--- a/mm/page-writeback.c~mm-move-page-writeback-sysctls-to-is-own-file-fix
+++ a/mm/page-writeback.c
@@ -506,6 +506,7 @@ bool node_dirty_ok(struct pglist_data *p
return nr_pages <= limit;
}
+#ifdef CONFIG_SYSCTL
static int dirty_background_ratio_handler(struct ctl_table *table, int write,
void *buffer, size_t *lenp, loff_t *ppos)
{
@@ -555,6 +556,7 @@ static int dirty_bytes_handler(struct ct
}
return ret;
}
+#endif
static unsigned long wp_next_time(unsigned long cur_time)
{
@@ -1996,6 +1998,7 @@ bool wb_over_bg_thresh(struct bdi_writeb
return false;
}
+#ifdef CONFIG_SYSCTL
/*
* sysctl handler for /proc/sys/vm/dirty_writeback_centisecs
*/
@@ -2020,6 +2023,7 @@ static int dirty_writeback_centisecs_han
return ret;
}
+#endif
void laptop_mode_timer_fn(struct timer_list *t)
{
_
Patches currently in -mm which might be from akpm@linux-foundation.org are
mm.patch
documentation-vm-page_ownerrst-update-the-documentation-fix.patch
mm-move-page-writeback-sysctls-to-is-own-file-fix.patch
mm-mempolicy-convert-from-atomic_t-to-refcount_t-on-mempolicy-refcnt-fix.patch
proc-alloc-path_max-bytes-for-proc-pid-fd-symlinks-fix.patch
mutex-subsystem-synchro-test-module-fix.patch
kernel-forkc-export-kernel_thread-to-modules.patch
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-01-31 23:24 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-31 23:24 + mm-move-page-writeback-sysctls-to-is-own-file-fix.patch added to -mm tree Andrew Morton
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.