mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: David Hildenbrand <david@redhat.com>
To: Xueshi Hu <xueshi.hu@smartx.com>,
	akpm@linux-foundation.org, mhocko@suse.com,
	quic_charante@quicinc.com
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH] mm: remove clear_page_idle()
Date: Wed, 12 Jul 2023 17:56:38 +0200	[thread overview]
Message-ID: <fa0d9f73-467b-64b8-91df-b2943f4dc27b@redhat.com> (raw)
In-Reply-To: <20230712134959.145373-1-xueshi.hu@smartx.com>

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


      reply	other threads:[~2023-07-12 15:57 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-07-12 13:49 Xueshi Hu
2023-07-12 15:56 ` David Hildenbrand [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=fa0d9f73-467b-64b8-91df-b2943f4dc27b@redhat.com \
    --to=david@redhat.com \
    --cc=akpm@linux-foundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mhocko@suse.com \
    --cc=quic_charante@quicinc.com \
    --cc=xueshi.hu@smartx.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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®