linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: David Hildenbrand <david@redhat.com>
To: "Matthew Wilcox (Oracle)" <willy@infradead.org>,
	Andrew Morton <akpm@linux-foundation.org>,
	linux-mm@kvack.org
Subject: Re: [PATCH] mm: Remove PageTransTail()
Date: Thu, 9 Jan 2025 18:22:30 +0100	[thread overview]
Message-ID: <d7beda8d-20ad-4a41-b9dc-354e885a7620@redhat.com> (raw)
In-Reply-To: <20250109152245.1591914-1-willy@infradead.org>

On 09.01.25 16:22, Matthew Wilcox (Oracle) wrote:
> The last caller was removed in October.  Also remove the FALSE definition
> of PageTransCompoundMap(); the normal definition was removed a few
> years ago.
> 
> Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
> ---
>   include/linux/page-flags.h | 12 ------------
>   1 file changed, 12 deletions(-)
> 
> diff --git a/include/linux/page-flags.h b/include/linux/page-flags.h
> index 691506bdf2c5..330929b6e062 100644
> --- a/include/linux/page-flags.h
> +++ b/include/linux/page-flags.h
> @@ -894,21 +894,9 @@ static inline int PageTransCompound(const struct page *page)
>   {
>   	return PageCompound(page);
>   }
> -
> -/*
> - * PageTransTail returns true for both transparent huge pages
> - * and hugetlbfs pages, so it should only be called when it's known
> - * that hugetlbfs pages aren't involved.
> - */
> -static inline int PageTransTail(const struct page *page)
> -{
> -	return PageTail(page);
> -}
>   #else
>   TESTPAGEFLAG_FALSE(TransHuge, transhuge)
>   TESTPAGEFLAG_FALSE(TransCompound, transcompound)
> -TESTPAGEFLAG_FALSE(TransCompoundMap, transcompoundmap)
> -TESTPAGEFLAG_FALSE(TransTail, transtail)
>   #endif
>   
>   #if defined(CONFIG_MEMORY_FAILURE) && defined(CONFIG_TRANSPARENT_HUGEPAGE)

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

-- 
Cheers,

David / dhildenb



  reply	other threads:[~2025-01-09 17:22 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-01-09 15:22 Matthew Wilcox (Oracle)
2025-01-09 17:22 ` David Hildenbrand [this message]
2025-01-09 17:27 ` Zi Yan

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=d7beda8d-20ad-4a41-b9dc-354e885a7620@redhat.com \
    --to=david@redhat.com \
    --cc=akpm@linux-foundation.org \
    --cc=linux-mm@kvack.org \
    --cc=willy@infradead.org \
    /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