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 kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id F0629C4332F for ; Wed, 9 Nov 2022 20:49:16 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 4D3EA6B0078; Wed, 9 Nov 2022 15:49:16 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 483526B007B; Wed, 9 Nov 2022 15:49:16 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 34B428E0001; Wed, 9 Nov 2022 15:49:16 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0010.hostedemail.com [216.40.44.10]) by kanga.kvack.org (Postfix) with ESMTP id 248D46B0078 for ; Wed, 9 Nov 2022 15:49:16 -0500 (EST) Received: from smtpin04.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay06.hostedemail.com (Postfix) with ESMTP id E50C1ABA4E for ; Wed, 9 Nov 2022 20:49:15 +0000 (UTC) X-FDA: 80115093870.04.BFA713B Received: from mail-qk1-f180.google.com (mail-qk1-f180.google.com [209.85.222.180]) by imf12.hostedemail.com (Postfix) with ESMTP id 7DDB54000C for ; Wed, 9 Nov 2022 20:49:15 +0000 (UTC) Received: by mail-qk1-f180.google.com with SMTP id g10so11713936qkl.6 for ; Wed, 09 Nov 2022 12:49:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux-foundation.org; s=google; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=Jv5zvrDMIjVJDZdCoLhQ5HOm0TuMGzwYNTnzMDBX7h4=; b=Qfeg8wV9yFrnUA09Qe5i4xmP6B4GfnyxmTQQ8nudUDGnUqLrv+UXqQ/KZQbabXKFcB OPFCoUXnuPC2rkcqRCIa2J4PIuNWEs5ZuG2uI8jLOfF1hF4m8cE7WQCsGLGHXRakOkYg O8UJdbZHCOcg1qsw6/OLcM/igMwW2imEu2o54= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=Jv5zvrDMIjVJDZdCoLhQ5HOm0TuMGzwYNTnzMDBX7h4=; b=jkLHsHZtch4n17qoIPTHZAR/cZnkdHpTlEiRiDZgS7Z1LOUV9gXCfTeSJCwmceeRp0 Nb9/dCZw3nwW9PI8apCel4pvjXw+UUEQzVKXy/4xomNf1O/zYKYKOFfh0b/H+bRLt6m1 OyZ6ikI4F6mGeAWM5evfk0vqS0CbEeySeB0CSmRHOyb17FyLItiULfpmBaaoth562xJ0 0P/iyGJ1PYyW8uHrnkjPuHMlCstejk6iYjDkxlUfgTG/tX1MCUo49qETXkvheGOT//QE 7pEtZNVTCVa4B2aba+rHJVEBn6CBP/riXMrY7nXgu7L/FlpdTFi+Kk06ELoqt/4eQa+Q WawQ== X-Gm-Message-State: ACrzQf3+CxHS3U4J9m81DgH6HTjcjScxx1DhbtBvD+bt0m6aOlYTYcRl T3/nZQxZdavzeJas1iAol6DLTEcVXJ97PA== X-Google-Smtp-Source: AMsMyM6vDBDnsJ60/G9znDThRc8hCGf893yBEjiEy70USqtVXrK3uhy7s9snVM1TwGv2KkPIMZhjxg== X-Received: by 2002:a05:620a:986:b0:6fa:3c74:e97f with SMTP id x6-20020a05620a098600b006fa3c74e97fmr35584742qkx.246.1668026954498; Wed, 09 Nov 2022 12:49:14 -0800 (PST) Received: from mail-yb1-f177.google.com (mail-yb1-f177.google.com. [209.85.219.177]) by smtp.gmail.com with ESMTPSA id c22-20020ac84e16000000b003a5092ed8cdsm10178792qtw.9.2022.11.09.12.49.12 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 09 Nov 2022 12:49:12 -0800 (PST) Received: by mail-yb1-f177.google.com with SMTP id 63so118532ybq.4 for ; Wed, 09 Nov 2022 12:49:12 -0800 (PST) X-Received: by 2002:a05:6902:1352:b0:6bb:3f4b:9666 with SMTP id g18-20020a056902135200b006bb3f4b9666mr56404285ybu.101.1668026951807; Wed, 09 Nov 2022 12:49:11 -0800 (PST) MIME-Version: 1.0 References: <20221109203051.1835763-1-torvalds@linux-foundation.org> <20221109203051.1835763-4-torvalds@linux-foundation.org> In-Reply-To: <20221109203051.1835763-4-torvalds@linux-foundation.org> From: Linus Torvalds Date: Wed, 9 Nov 2022 12:48:55 -0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 4/4] mm: delay page_remove_rmap() until after the TLB has been flushed To: Hugh Dickins , Johannes Weiner , Andrew Morton Cc: linux-kernel@vger.kernel.org, linux-mm@kvack.org, Nadav Amit , Will Deacon , Aneesh Kumar , Nick Piggin , Heiko Carstens , Vasily Gorbik , Alexander Gordeev , Christian Borntraeger , Sven Schnelle , Peter Zijlstra , Gerald Schaefer Content-Type: text/plain; charset="UTF-8" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1668026955; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=Jv5zvrDMIjVJDZdCoLhQ5HOm0TuMGzwYNTnzMDBX7h4=; b=PNwBQvrHoz8C4QhBBdKXCExtaMa1YagVcJ9afHa40fPDTyU4KK7dayhw5ZrmJeJFSyGMPC +TPMuq0viRSEOp/A8Gr/sPlJr5bbV7dlC96z4+/5E6G4v1u5sKseyW6A81/cE6G+A32+P2 tzs6p9WZ2ASz0Vdu0fdyeoLojBWYigU= ARC-Authentication-Results: i=1; imf12.hostedemail.com; dkim=pass header.d=linux-foundation.org header.s=google header.b=Qfeg8wV9; spf=pass (imf12.hostedemail.com: domain of torvalds@linuxfoundation.org designates 209.85.222.180 as permitted sender) smtp.mailfrom=torvalds@linuxfoundation.org; dmarc=none ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1668026955; a=rsa-sha256; cv=none; b=DNIi3A1D7Whz6FiUKbdGgN2fJSKHj0WdC2hXsurpBPP/qpCHTRxSOGQDUsqenUTvkNXc32 d5C4jaHBI8b3mlx0J5ijai0VqZQyR3EwY8wanqPwvJCn8Yje4Ta+WMSkCJeYkIPVVN5Lzi DUVwPJWEznxiUjRpbJqogaNR51Q+FDQ= X-Rspam-User: X-Stat-Signature: h53k8qy89op4dxwjsq1moqij818ck4ph X-Rspamd-Queue-Id: 7DDB54000C Authentication-Results: imf12.hostedemail.com; dkim=pass header.d=linux-foundation.org header.s=google header.b=Qfeg8wV9; spf=pass (imf12.hostedemail.com: domain of torvalds@linuxfoundation.org designates 209.85.222.180 as permitted sender) smtp.mailfrom=torvalds@linuxfoundation.org; dmarc=none X-Rspamd-Server: rspam07 X-HE-Tag: 1668026955-578844 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: Bah, in carefully removing all the "let's send it as a reply to the previous thread" command line flags, I cleverly also skipped adding a cover letter, so this updated series got sent out without one. I need more coffee. But hey, it's not like the people cc'd haven't seen it before, and if you want to see *all* the patches (I didn't want to patch-bomb people with the prep-work), at least 'b4' is happy so you can get it all with just b4 am 20221109203051.1835763-1-torvalds@linux-foundation.org this time. The main changes to the previously posted series are (a) try to move the s390 changes to generic code (b) build-time checking for the value range of the flags passed to encode_page() (c) added comments both to code and commit messages I'm sure I messed something up in the process, not just the lack of cover letter which has now turned into this "tail letter" instead. Linus