All of lore.kernel.org
 help / color / mirror / Atom feed
* + writeback-cleanup-bdi_sched_wait.patch added to mm-unstable branch
@ 2022-07-13 15:09 Andrew Morton
  0 siblings, 0 replies; only message in thread
From: Andrew Morton @ 2022-07-13 15:09 UTC (permalink / raw)
  To: mm-commits, johannes.thumshirn, jack, xiujianfeng, akpm


The patch titled
     Subject: writeback: cleanup bdi_sched_wait()
has been added to the -mm mm-unstable branch.  Its filename is
     writeback-cleanup-bdi_sched_wait.patch

This patch will shortly appear at
     https://git.kernel.org/pub/scm/linux/kernel/git/akpm/25-new.git/tree/patches/writeback-cleanup-bdi_sched_wait.patch

This patch will later appear in the mm-unstable branch at
    git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm

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 via the mm-everything
branch at git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
and is updated there every 2-3 working days

------------------------------------------------------
From: Xiu Jianfeng <xiujianfeng@huawei.com>
Subject: writeback: cleanup bdi_sched_wait()
Date: Wed, 13 Jul 2022 20:53:14 +0800

bdi_sched_wait() is no longer used since commit 839a8e8660b6 ("writeback:
replace custom worker pool implementation with unbound workqueue"), so
remove it.

Link: https://lkml.kernel.org/r/20220713125314.171345-1-xiujianfeng@huawei.com
Signed-off-by: Xiu Jianfeng <xiujianfeng@huawei.com>
Reviewed-by: Jan Kara <jack@suse.cz>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---

 include/linux/backing-dev.h |    6 ------
 1 file changed, 6 deletions(-)

--- a/include/linux/backing-dev.h~writeback-cleanup-bdi_sched_wait
+++ a/include/linux/backing-dev.h
@@ -140,12 +140,6 @@ static inline bool mapping_can_writeback
 	return inode_to_bdi(mapping->host)->capabilities & BDI_CAP_WRITEBACK;
 }
 
-static inline int bdi_sched_wait(void *word)
-{
-	schedule();
-	return 0;
-}
-
 #ifdef CONFIG_CGROUP_WRITEBACK
 
 struct bdi_writeback *wb_get_lookup(struct backing_dev_info *bdi,
_

Patches currently in -mm which might be from xiujianfeng@huawei.com are

mm-mprotect-remove-the-redundant-initialization-for-error.patch
writeback-cleanup-bdi_sched_wait.patch


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-07-13 15:09 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-07-13 15:09 + writeback-cleanup-bdi_sched_wait.patch added to mm-unstable branch 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.