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: <fd206791-aa8a-5cd8-2606-58d395f2c995@redhat.com>
Date:   Wed, 8 Mar 2023 18:04:22 +0100
From:   David Hildenbrand <david@...hat.com>
To:     Peter Xu <peterx@...hat.com>
Cc:     linux-mm@...ck.org, linux-kernel@...r.kernel.org,
        Muhammad Usama Anjum <usama.anjum@...labora.com>,
        Andrea Arcangeli <aarcange@...hat.com>,
        Axel Rasmussen <axelrasmussen@...gle.com>,
        Mike Rapoport <rppt@...ux.vnet.ibm.com>,
        Nadav Amit <nadav.amit@...il.com>,
        Paul Gofman <pgofman@...eweavers.com>,
        Andrew Morton <akpm@...ux-foundation.org>
Subject: Re: [PATCH v3 1/2] mm/uffd: UFFD_FEATURE_WP_UNPOPULATED

On 08.03.23 17:51, Peter Xu wrote:
> On Wed, Mar 08, 2023 at 04:57:55PM +0100, David Hildenbrand wrote:
>> Oh, my thinking was that with markers you postpone placing the shared
>> zeropage. So the next read access will require a pagefault to map the shared
>> zeropage. Your v1 would have performed best in that case I guess.
> 
> Ah, so I misunderstood because the sentence being quote was in another
> context I think..

Sorry, I might have messed up the quoting.

> 
> Pagemap may bring overhead constantly though, not sure when vs page faults.
> May relevant to num of missing pages.

Right, one idea (raised by Dave G. IIRC) was to to the pagemap scanning 
concurrently from another thread and avoid most of the shared-zeropage 
dance.

-- 
Thanks,

David / dhildenb

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ