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] [thread-next>] [day] [month] [year] [list]
Date:   Thu, 2 Mar 2023 17:50:03 -0800
From:   Andrew Morton <akpm@...ux-foundation.org>
To:     Peter Xu <peterx@...hat.com>
Cc:     James Houghton <jthoughton@...gle.com>,
        David Hildenbrand <david@...hat.com>,
        Axel Rasmussen <axelrasmussen@...gle.com>,
        Anish Moorthy <amoorthy@...gle.com>, linux-mm@...ck.org,
        linux-kernel@...r.kernel.org
Subject: Re: [PATCH] mm: teach mincore_hugetlb about pte markers

On Thu, 2 Mar 2023 17:32:48 -0500 Peter Xu <peterx@...hat.com> wrote:

> On Thu, Mar 02, 2023 at 10:24:04PM +0000, James Houghton wrote:
> > By checking huge_pte_none(), we incorrectly classify PTE markers as
> > "present". Instead, check huge_pte_none_mostly(), classifying PTE
> > markers the same as if the PTE were completely blank.
> > 
> > PTE markers, unlike other kinds of swap entries, don't reference any
> > physical page and don't indicate that a physical page was mapped
> > previously. As such, treat them as non-present for the sake of
> > mincore().
> > 
> > Fixes: 5c041f5d1f23 ("mm: teach core mm about pte markers")
> > Signed-off-by: James Houghton <jthoughton@...gle.com>
> 
> Acked-by: Peter Xu <peterx@...hat.com>
> 

I think I'll add cc:stable to this. 

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ