Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp1241181pxk; Thu, 10 Sep 2020 10:22:17 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxzDHe765pEv2KXrXPas3eZKxanYNoPYQQW3w10DnojuEcWiiwhbPrq/OnctCN4sqoVOTm6 X-Received: by 2002:aa7:d6c4:: with SMTP id x4mr10189819edr.98.1599758537658; Thu, 10 Sep 2020 10:22:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599758537; cv=none; d=google.com; s=arc-20160816; b=y5GK4O84RBL5+jyl1YBksCzLyYWXQmQDgXD/tSl6ibF2scbYdFisr8uu53WXonP2Xo q789rvoScFBUrKKKNRbyb4RiLx6OPsWW2UUXyKisqioVVYey2ZeMidq+3XYb159rcA17 A05AlMSoj0rFbAjz/nhCsrCCDRG4h/3G4KYSoQxWsQsRCj0jWHqlJ48saTPmH50nM6Ov oyfMPg1Rx42iHhrBa8mcyPmZPsvRQ3zYjp4uduOI7AEOd5zyUMRtL4d9Myv8xNCmKfpN +R82bvW1YyQ5Z4kNAf1a5P6k/PWn5xubASCaBfOafpTmh95l5KQtocFXDltgWi2NJy2U Pivg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=wS3Cxs+LxMo6gPPzfzs9JS4wraYUHvaNngFKImlbYPQ=; b=pz8L5Tbo2pXHlAtoefg/kiDfv/qMdjZDswOUa+7Duw9ZoGUxOay2qybBPPMDlgyiaD HK5YLnnvY98ikGnW5fzenuDNPTaRMseVuv938qTicmG2AfX/AlauWY06v7p5cNLj9qKn D/L9fyqtKKAWtdgrBkkg/ICCQZruGMTHHXxO2iv2uL/60VNYdgZbFhQ9imT3F2JtseCD oJcnBRJOyoNpScjy8Abyp/GWq+mBA9fuCgYtG1M3tTNASMv1xi3O4mSbZx79MuAWuXzZ FviFNnQXwSqSnA/ut1rmYhvJhNTqjzq44hpv8AC8kbkmD/Vk8VTt1ejGIxMzsPm4uidG mWLQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ziepe.ca header.s=google header.b=R7muKjGs; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id bu14si4008909edb.128.2020.09.10.10.21.54; Thu, 10 Sep 2020 10:22:17 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@ziepe.ca header.s=google header.b=R7muKjGs; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726800AbgIJRVD (ORCPT + 99 others); Thu, 10 Sep 2020 13:21:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54682 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726761AbgIJRUA (ORCPT ); Thu, 10 Sep 2020 13:20:00 -0400 Received: from mail-qt1-x842.google.com (mail-qt1-x842.google.com [IPv6:2607:f8b0:4864:20::842]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 21647C0613ED for ; Thu, 10 Sep 2020 10:20:00 -0700 (PDT) Received: by mail-qt1-x842.google.com with SMTP id e7so5439222qtj.11 for ; Thu, 10 Sep 2020 10:20:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ziepe.ca; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=wS3Cxs+LxMo6gPPzfzs9JS4wraYUHvaNngFKImlbYPQ=; b=R7muKjGsMqQxjYn/v3laT3wxz696cPiiZUGTarCqWEmD8sEHzFMnpmRv1NbdWuvxUl ES4sa/jWMnYWk8X4X6idi0ndI491v7kNFTPa5GqC+PbSliK0PxcG7BbrKL1SGaFULExx kGCtyImpN4w3JYZEvlwpotauF+GyY/wqoWRoFKEJsIkkaaCf8ZEqmuepKdImBUgzQsFC Vc+IXldSoElxGSHRRDrr1U2IvhE0zAiCRYQ16d8EWEqzrgIPV6ZfSpzmZYP6/ZBNfv4U wV4KH/FXvtzAig33Lc4SwlzTJpcb6YSdw29FHxZ2Fklak2OM0YAdYreU9PkLtv7plyJk DE3w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=wS3Cxs+LxMo6gPPzfzs9JS4wraYUHvaNngFKImlbYPQ=; b=BlISPEqZXAP7ezCWR7JR7AhAOkGounuNBvrpT5gOgcXmbaWF3S4Z8OKUMcuJD2kW9D gyP+lpBI2PZTAQJHc4B4yUNTAE2VKef/JqRNoiAR+zmOp3WVQZOZ8EZxkJvprTH3GnQf VHopRCBTMkjJfhAHAXb+Muz3ABjXOn+WAvcC4cGESayCt+kbvcIjewRlgwxUFEtPjaEk FISP7AbvFZU7MUer57h6abfj4Yw97gjArlbSRyLJXALFqibyaSSoIBjhlqcMf+XIhvcO 2kSQbMIV3jgvJGUyHfXNujhI4H/KGXneKy/17M08iJEemV0BxmUxR0Gd/iQ+UzOxeYoR fn5g== X-Gm-Message-State: AOAM532z4/vn6HjONu8vmiQSifd2gxL5OHgp6qOoLXVWLPKPNlFzY8/+ 6H127iY5Nq6oM/h/3OwUa/eg2g== X-Received: by 2002:ac8:54a:: with SMTP id c10mr9299916qth.251.1599758398248; Thu, 10 Sep 2020 10:19:58 -0700 (PDT) Received: from ziepe.ca (hlfxns017vw-156-34-48-30.dhcp-dynamic.fibreop.ns.bellaliant.net. [156.34.48.30]) by smtp.gmail.com with ESMTPSA id x126sm6934696qkb.101.2020.09.10.10.19.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 10 Sep 2020 10:19:57 -0700 (PDT) Received: from jgg by mlx with local (Exim 4.94) (envelope-from ) id 1kGQEm-004NzL-RL; Thu, 10 Sep 2020 14:19:56 -0300 Date: Thu, 10 Sep 2020 14:19:56 -0300 From: Jason Gunthorpe To: Gerald Schaefer Cc: Anshuman Khandual , Alexander Gordeev , Dave Hansen , John Hubbard , LKML , linux-mm , linux-arch , Andrew Morton , Linus Torvalds , Russell King , Mike Rapoport , Catalin Marinas , Will Deacon , Michael Ellerman , Benjamin Herrenschmidt , Paul Mackerras , Jeff Dike , Richard Weinberger , Dave Hansen , Andy Lutomirski , Peter Zijlstra , Thomas Gleixner , Ingo Molnar , Borislav Petkov , Arnd Bergmann , Andrey Ryabinin , linux-x86 , linux-arm , linux-power , linux-sparc , linux-um , linux-s390 , Vasily Gorbik , Heiko Carstens , Christian Borntraeger , Claudio Imbrenda Subject: Re: [RFC PATCH v2 1/3] mm/gup: fix gup_fast with dynamic page table folding Message-ID: <20200910171956.GM87483@ziepe.ca> References: <0dbc6ec8-45ea-0853-4856-2bc1e661a5a5@intel.com> <20200909142904.00b72921@thinkpad> <20200909192534.442f8984@thinkpad> <20200909180324.GI87483@ziepe.ca> <20200910093925.GB29166@oc3871087118.ibm.com> <20200910130233.GK87483@ziepe.ca> <20200910152803.1a930afc@thinkpad> <20200910151026.GL87483@ziepe.ca> <20200910190757.153319d4@thinkpad> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200910190757.153319d4@thinkpad> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Sep 10, 2020 at 07:07:57PM +0200, Gerald Schaefer wrote: > I might have lost track a bit. Are we still talking about possible > functional impacts of either our current pagetable walking with s390 > (apart from gup_fast), or the proposed generic change (for s390, or > others?)? I'm looking for an more understandable explanation what is wrong with the S390 implementation. If the page operations require the invariant I described then it is quite easy to explain the problem and understand the solution. Jason