All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Kirill A. Shutemov" <kirill@shutemov.name>
To: Matthew Wilcox <willy@infradead.org>
Cc: David Howells <dhowells@redhat.com>,
	linux-mm@kvack.org, torvalds@linux-foundation.org,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH] mm: Export PageHeadHuge()
Date: Wed, 17 Nov 2021 17:01:37 +0300	[thread overview]
Message-ID: <20211117140137.rsokyulcmgj57ywz@box.shutemov.name> (raw)
In-Reply-To: <YZUBgs+2PtnsmTAw@casper.infradead.org>

On Wed, Nov 17, 2021 at 01:20:02PM +0000, Matthew Wilcox wrote:
> On Wed, Nov 17, 2021 at 11:36:23AM +0300, Kirill A. Shutemov wrote:
> > On Tue, Nov 16, 2021 at 01:54:13PM +0000, David Howells wrote:
> > > Export PageHeadHuge() - it's used by folio_test_hugetlb() and thence by
> > > folio_file_page() and folio_contains().
> > 
> > Maybe move it to page-flag.h instead? It is trivial enough.
> 
> HUGETLB_PAGE_DTOR is defined in mm.h so there's a bit of a dependency
> problem there.

Move enum compound_dtor_id to mm_types.h?

-- 
 Kirill A. Shutemov

  reply	other threads:[~2021-11-17 14:01 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-16 13:54 [PATCH] mm: Export PageHeadHuge() David Howells
2021-11-17  8:36 ` Kirill A. Shutemov
2021-11-17 13:20   ` Matthew Wilcox
2021-11-17 14:01     ` Kirill A. Shutemov [this message]
  -- strict thread matches above, loose matches on Subject: below --
2022-02-28 13:22 David Howells
2022-02-28 13:41 ` Christoph Hellwig
2021-08-20 16:14 David Howells
2021-08-20 17:35 ` Christoph Hellwig

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=20211117140137.rsokyulcmgj57ywz@box.shutemov.name \
    --to=kirill@shutemov.name \
    --cc=dhowells@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=torvalds@linux-foundation.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 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.