lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20211117140137.rsokyulcmgj57ywz@box.shutemov.name>
Date:   Wed, 17 Nov 2021 17:01:37 +0300
From:   "Kirill A. Shutemov" <kirill@...temov.name>
To:     Matthew Wilcox <willy@...radead.org>
Cc:     David Howells <dhowells@...hat.com>, linux-mm@...ck.org,
        torvalds@...ux-foundation.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] mm: Export PageHeadHuge()

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ