linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* Re: [PATCH] pagemap: remove wait_on_page_locked_killable()
  2023-08-15  3:06 [PATCH] pagemap: remove wait_on_page_locked_killable() Kefeng Wang
@ 2023-08-15  3:02 ` Matthew Wilcox
  0 siblings, 0 replies; 2+ messages in thread
From: Matthew Wilcox @ 2023-08-15  3:02 UTC (permalink / raw)
  To: Kefeng Wang; +Cc: Andrew Morton, linux-mm, linux-fsdevel

On Tue, Aug 15, 2023 at 11:06:09AM +0800, Kefeng Wang wrote:
> There is no users of wait_on_page_locked_killable(), remove it.
> 
> Signed-off-by: Kefeng Wang <wangkefeng.wang@huawei.com>

Yes, NFS was the last user.

Reviewed-by: Matthew Wilcox (Oracle) <willy@infradead.org>


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [PATCH] pagemap: remove wait_on_page_locked_killable()
@ 2023-08-15  3:06 Kefeng Wang
  2023-08-15  3:02 ` Matthew Wilcox
  0 siblings, 1 reply; 2+ messages in thread
From: Kefeng Wang @ 2023-08-15  3:06 UTC (permalink / raw)
  To: Andrew Morton, willy; +Cc: linux-mm, linux-fsdevel, Kefeng Wang

There is no users of wait_on_page_locked_killable(), remove it.

Signed-off-by: Kefeng Wang <wangkefeng.wang@huawei.com>
---
 include/linux/pagemap.h | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/include/linux/pagemap.h b/include/linux/pagemap.h
index 6f8d6529b350..351c3b7f93a1 100644
--- a/include/linux/pagemap.h
+++ b/include/linux/pagemap.h
@@ -1129,11 +1129,6 @@ static inline void wait_on_page_locked(struct page *page)
 	folio_wait_locked(page_folio(page));
 }
 
-static inline int wait_on_page_locked_killable(struct page *page)
-{
-	return folio_wait_locked_killable(page_folio(page));
-}
-
 void wait_on_page_writeback(struct page *page);
 void folio_wait_writeback(struct folio *folio);
 int folio_wait_writeback_killable(struct folio *folio);
-- 
2.41.0



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-08-15  3:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-08-15  3:06 [PATCH] pagemap: remove wait_on_page_locked_killable() Kefeng Wang
2023-08-15  3:02 ` Matthew Wilcox

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox