mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] mm: remove clear_page_idle()
@ 2023-07-12 13:49 Xueshi Hu
  2023-07-12 15:56 ` David Hildenbrand
  0 siblings, 1 reply; 2+ messages in thread
From: Xueshi Hu @ 2023-07-12 13:49 UTC (permalink / raw)
  To: akpm, mhocko, quic_charante, david; +Cc: linux-kernel, Xueshi Hu

All callers have now been converted to call folio_clear_idle().

Signed-off-by: Xueshi Hu <xueshi.hu@smartx.com>
---
 include/linux/page_idle.h | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/include/linux/page_idle.h b/include/linux/page_idle.h
index 5cb7bd2078ec..d8f344840643 100644
--- a/include/linux/page_idle.h
+++ b/include/linux/page_idle.h
@@ -144,9 +144,4 @@ static inline void set_page_idle(struct page *page)
 {
 	folio_set_idle(page_folio(page));
 }
-
-static inline void clear_page_idle(struct page *page)
-{
-	folio_clear_idle(page_folio(page));
-}
 #endif /* _LINUX_MM_PAGE_IDLE_H */
-- 
2.40.1


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

* Re: [PATCH] mm: remove clear_page_idle()
  2023-07-12 13:49 [PATCH] mm: remove clear_page_idle() Xueshi Hu
@ 2023-07-12 15:56 ` David Hildenbrand
  0 siblings, 0 replies; 2+ messages in thread
From: David Hildenbrand @ 2023-07-12 15:56 UTC (permalink / raw)
  To: Xueshi Hu, akpm, mhocko, quic_charante; +Cc: linux-kernel

On 12.07.23 15:49, Xueshi Hu wrote:
> All callers have now been converted to call folio_clear_idle().
> 
> Signed-off-by: Xueshi Hu <xueshi.hu@smartx.com>
> ---
>   include/linux/page_idle.h | 5 -----
>   1 file changed, 5 deletions(-)
> 
> diff --git a/include/linux/page_idle.h b/include/linux/page_idle.h
> index 5cb7bd2078ec..d8f344840643 100644
> --- a/include/linux/page_idle.h
> +++ b/include/linux/page_idle.h
> @@ -144,9 +144,4 @@ static inline void set_page_idle(struct page *page)
>   {
>   	folio_set_idle(page_folio(page));
>   }
> -
> -static inline void clear_page_idle(struct page *page)
> -{
> -	folio_clear_idle(page_folio(page));
> -}
>   #endif /* _LINUX_MM_PAGE_IDLE_H */

Reviewed-by: David Hildenbrand <david@redhat.com>

-- 
Cheers,

David / dhildenb


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

end of thread, other threads:[~2023-07-12 15:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-07-12 13:49 [PATCH] mm: remove clear_page_idle() Xueshi Hu
2023-07-12 15:56 ` David Hildenbrand

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

all inboxes | Powered by JetHome®