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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6B3FAC433F5 for ; Mon, 15 Nov 2021 11:37:13 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 070E860D42 for ; Mon, 15 Nov 2021 11:37:13 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 070E860D42 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=kvack.org Received: by kanga.kvack.org (Postfix) id 7E0186B007B; Mon, 15 Nov 2021 06:37:12 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 78FD86B007D; Mon, 15 Nov 2021 06:37:12 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 657206B007E; Mon, 15 Nov 2021 06:37:12 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0113.hostedemail.com [216.40.44.113]) by kanga.kvack.org (Postfix) with ESMTP id 53A016B007B for ; Mon, 15 Nov 2021 06:37:12 -0500 (EST) Received: from smtpin23.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay01.hostedemail.com (Postfix) with ESMTP id 165CB1809C05A for ; Mon, 15 Nov 2021 11:37:12 +0000 (UTC) X-FDA: 78810963504.23.B4DDBB9 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by imf22.hostedemail.com (Postfix) with ESMTP id AC5211913 for ; Mon, 15 Nov 2021 11:37:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1636976231; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=fWcZZsgQOAso1mx0RHkRaCfmhEXrgIWNcifLJw+coog=; b=gH6GKIi1DDOS7T4Q9SYP+AzM+ovtDQUjsG4F23nNWx6qZ6LXl/IQFC6bXDOQcQBfreKqUk Vfisf18V0GyXbISSwe8IrRKySLJFSuVYTgZcu9CiAZra6MMaYDLWQbPeiIl0KpRk2YBXDx q73rvn+eNQRmjqVCOio1E9OfyyzpHr4= Received: from mail-pl1-f197.google.com (mail-pl1-f197.google.com [209.85.214.197]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-5-BOk8ZKjJOROxhKkABC2tiA-1; Mon, 15 Nov 2021 06:37:07 -0500 X-MC-Unique: BOk8ZKjJOROxhKkABC2tiA-1 Received: by mail-pl1-f197.google.com with SMTP id k9-20020a170902ba8900b00141f601d5c8so6098078pls.1 for ; Mon, 15 Nov 2021 03:37:07 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=fWcZZsgQOAso1mx0RHkRaCfmhEXrgIWNcifLJw+coog=; b=SST/JyPsGC6zA0LgUU4L/G3bziF6UA1gIfbOgaWWEt+eqgv4W5auyoCsnnhbZWfDY9 /iu2czEsBMW0Hv/i+0aPuen3OwWZ6uQkKzyZZVcOygH/V3LADlzK32JHXRcTGKYtw/yl NPZh4vCqMBCE2eb1JxysGS3OmitgmYkdlcHd8qSPDZaEJYPRwV+ImDrvBFk3OvF5dCOR /wRoxDw/mMx6Y80ZQVdZ6xf0N86aiXPTMg2wG1Aks/qvEEB5kvxCMRX3JY33Fx5EqTJE RVW0DGOiGEMOyzGvLQllqb1P0fsATQYViAGYWOC4pQxwssO+EbBkEwwXiE6leOB0re68 9AhQ== X-Gm-Message-State: AOAM533cR1nd7fd7LBbB1b0+rt64gm88+9mqQGt1ljVZmI+1hhP80+iF YyDgoWQcih42gJBL8yDN4IiAxd5t2uj3V+fyKTay5b2Z54yyNI05nWQ08Mu3jvPb5JnkaepXbXW QQGIU6ErCHrQ= X-Received: by 2002:a05:6a00:188a:b0:49f:c31f:b2c3 with SMTP id x10-20020a056a00188a00b0049fc31fb2c3mr32513738pfh.9.1636976226784; Mon, 15 Nov 2021 03:37:06 -0800 (PST) X-Google-Smtp-Source: ABdhPJwUWvk0nHKiGokqgCW4tmnKRRgIPnG7AT9YnPKPuqVrUfPf/cpmMXUHSUdBhSCVprLzSyRC+Q== X-Received: by 2002:a05:6a00:188a:b0:49f:c31f:b2c3 with SMTP id x10-20020a056a00188a00b0049fc31fb2c3mr32513707pfh.9.1636976226519; Mon, 15 Nov 2021 03:37:06 -0800 (PST) Received: from xz-m1.local ([94.177.118.80]) by smtp.gmail.com with ESMTPSA id w192sm14640457pfd.21.2021.11.15.03.37.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 Nov 2021 03:37:06 -0800 (PST) Date: Mon, 15 Nov 2021 19:37:00 +0800 From: Peter Xu To: Alistair Popple Cc: linux-kernel@vger.kernel.org, linux-mm@kvack.org, Andrew Morton , Yang Shi , Hugh Dickins , David Hildenbrand , Andrea Arcangeli , Vlastimil Babka , "Kirill A . Shutemov" Subject: Re: [PATCH RFC 2/2] mm: Rework swap handling of zap_pte_range Message-ID: References: <20211110082952.19266-1-peterx@redhat.com> <20211110082952.19266-3-peterx@redhat.com> <71100340.4M9YG836mP@nvdebian> MIME-Version: 1.0 In-Reply-To: <71100340.4M9YG836mP@nvdebian> X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=utf-8 Content-Disposition: inline X-Rspamd-Server: rspam01 X-Rspamd-Queue-Id: AC5211913 X-Stat-Signature: 6zzo44tjbr6tditrqc5abe5adbjmygty Authentication-Results: imf22.hostedemail.com; dkim=pass header.d=redhat.com header.s=mimecast20190719 header.b=gH6GKIi1; spf=none (imf22.hostedemail.com: domain of peterx@redhat.com has no SPF policy when checking 170.10.129.124) smtp.mailfrom=peterx@redhat.com; dmarc=pass (policy=none) header.from=redhat.com X-HE-Tag: 1636976231-816124 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: On Mon, Nov 15, 2021 at 10:21:18PM +1100, Alistair Popple wrote: > Hi Peter, Hi, Alistair, > > I was having trouble applying this cleanly to any of my local trees so was > wondering which sha1 should I be applying this on top of? Thanks. Thanks for considering trying it out. I thought it was easy to apply onto any of the recent branches as long as with -mm's rc1 applied, and I just did it to Linus's 5.16-rc1 in my uffd-wp rebase: https://github.com/xzpeter/linux/commits/uffd-wp-shmem-hugetlbfs This commit is here: https://github.com/xzpeter/linux/commit/c32043436282bb352e6fe10eb5fa693340fe5281 It could be that "git rebase" is normally smarter so I didn't notice it's not applicable directly. I'll repost a new version soon, please also consider to fetch directly from the git tree too before I do so. Thanks, -- Peter Xu