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@xxxxxxxxxxxxxxxxxxxx> Subject: mm-move-page-writeback-sysctls-to-is-own-file-fix fix CONFIG_SYSCTL=n warnings Cc: Iurii Zaikin <yzaikin@xxxxxxxxxx> Cc: Kees Cook <keescook@xxxxxxxxxxxx> Cc: Luis Chamberlain <mcgrof@xxxxxxxxxx> Cc: zhanglianjie <zhanglianjie@xxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- 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@xxxxxxxxxxxxxxxxxxxx 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