From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id AE855C433F5 for ; Fri, 29 Apr 2022 18:27:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1379847AbiD2SaX (ORCPT ); Fri, 29 Apr 2022 14:30:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55930 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235142AbiD2SaS (ORCPT ); Fri, 29 Apr 2022 14:30:18 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0CDC788782 for ; Fri, 29 Apr 2022 11:27:00 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id B78FBB8377D for ; Fri, 29 Apr 2022 18:26:58 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4C942C385A7; Fri, 29 Apr 2022 18:26:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linux-foundation.org; s=korg; t=1651256817; bh=RetPHIqaTp39CFL88pHBGGEDarcJQ2Fw9C5KuuxsGZE=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=a5mrkyafMpZCzsr3+1He2CqAYDQxmPqFU2s27wkSHVrvE+3VBzS3cL0G5jp7M1PNh lQujhpv4M7Og3qtDQPyaSHFLSuU+JnydshMsOryDGWpuilTduPXoOkyHZtHwE2Uvcb tRH5YkmPlGwNBZ6BiYUGB/7oBolOIqjyYtXzCkM8= Date: Fri, 29 Apr 2022 11:26:55 -0700 From: Andrew Morton To: David Hildenbrand Cc: linux-kernel@vger.kernel.org, Hugh Dickins , Linus Torvalds , David Rientjes , Shakeel Butt , John Hubbard , Jason Gunthorpe , Mike Kravetz , Mike Rapoport , Yang Shi , "Kirill A . Shutemov" , Matthew Wilcox , Vlastimil Babka , Jann Horn , Michal Hocko , Nadav Amit , Rik van Riel , Roman Gushchin , Andrea Arcangeli , Peter Xu , Donald Dutile , Christoph Hellwig , Oleg Nesterov , Jan Kara , Liang Zhang , Pedro Gomes , Oded Gabbay , linux-mm@kvack.org Subject: Re: [PATCH v4 12/17] mm: remember exclusively mapped anonymous pages with PG_anon_exclusive Message-Id: <20220429112655.6b44dae1a93a9aa93adb0bcf@linux-foundation.org> In-Reply-To: <20220428083441.37290-13-david@redhat.com> References: <20220428083441.37290-1-david@redhat.com> <20220428083441.37290-13-david@redhat.com> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.33; x86_64-redhat-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 28 Apr 2022 10:34:36 +0200 David Hildenbrand wrote: > Let's mark exclusively mapped anonymous pages with PG_anon_exclusive as > exclusive, and use that information to make GUP pins reliable and stay > consistent with the page mapped into the page table even if the > page table entry gets write-protected. No reviewers on this one?