lkml.org 
[lkml]   [2022]   [Aug]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH v13 57/70] mm/mlock: use vma iterator and maple state instead of vma linked list
    On Mon, Aug 22, 2022 at 03:06:30PM +0000, Liam Howlett wrote:
    > From: "Matthew Wilcox (Oracle)" <willy@infradead.org>
    >
    > Handle overflow checking in count_mm_mlocked_page_nr() differently.

    Our QA team found that since next-20220823 we're seeing a couple of test
    failures in the check_mmap_options kselftest on arm64 platforms with MTE
    that aren't present in mainline:

    # # FAIL: mprotect not ignoring clear PROT_MTE property
    # not ok 21 Check clear PROT_MTE flags with private mapping, sync error mode and mmap memory
    # # FAIL: mprotect not ignoring clear PROT_MTE property
    # not ok 22 Check clear PROT_MTE flags with private mapping and sync error mode and mmap/mprotect memory

    I bisected this using qemu[1] which landed on 4ceb4bca479d41a
    ("mm/mprotect: use maple tree navigation instead of vma linked list"),
    though I'm not 100% sure I trust the specific identification of the
    commit I'm pretty confident it's at the very least in this series. I've
    not done any analysis of the failure beyond getting this bisect result.

    [1] qemu -smp cpus=4 -cpu max -machine virt,gic-version=3,mte=on
    [unhandled content-type:application/pgp-signature]
    \
     
     \ /
      Last update: 2022-08-25 02:35    [W:3.643 / U:1.556 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site