Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp1060040rwi; Thu, 20 Oct 2022 08:13:06 -0700 (PDT) X-Google-Smtp-Source: AMsMyM43Oiu2aTbZbWxKJPiGOCX3XbDvn6uU58QwQqHX1cJb2Hf7ApVYgFjY7H77jRjJOlKc7pT3 X-Received: by 2002:a17:907:94c3:b0:78e:2866:f89f with SMTP id dn3-20020a17090794c300b0078e2866f89fmr11147846ejc.617.1666278786198; Thu, 20 Oct 2022 08:13:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666278786; cv=none; d=google.com; s=arc-20160816; b=U7FOLR7uKdOsWhdk/Ddr+mdSFKoBnJybRasP3iWrrqp9UsiBYRQ0Cn2H0bNHz7D97R +6JICpclGaWvJOcrwWCEpje+PQxhhX0Eck7CkzbGNgZccVBe6akgATfnC84J4OCgpTxV 34gGa/2CWaOjrElVuUL0Yj0F6eLK/doIldG52KkGcEbK1rBZml6dvH9/X7gjqflT8dBY wjzEGzeAkFAGpyu00lkM4B3ydkDimH8shVQl3KGVLleLivYd2Af6ue7bR/48wkcwUK80 TqHN4ejrp/3w0IHxU2DRczs+3X4rsM3aVgXBwj9pUCrt01GLM9Wmxl/DUuzqH4vkQ+Qe gAWQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=AzH2a4QXGz+eTNIZ5k3/P8jk/sAl3fN5pfERFMiCaGI=; b=UrZfbcdeYRakjweUp2l11Cy88pXt2IuYgihbX+IWf28Mcu+7L1qD2nW6jfzJd+ZMMJ qTXrFDdZEbeov8DAy5FltmDGKw+gFNIBI5jFEKTbuVV+QQK7M5cZlLO4ut4bijGyEkJM Rw7GBCNULZA3Rtgu4MI2l3mdIzD6gZXI1TKVPJ4VvMbe0aMYjuC1RRkpih6hPW3tlZtx hynHBtpPLVy3/am3hKszVnm0o6KJgKSFTUJFa97IRhYSd95zftKNxZQQru0eG1dq6wbb hW4Hp9chicifLgOSIAq+FIjeAMRs6nhLKTQGJxsckYs4KofPDGOmbKrRuVUT80pxnIGs +kjA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=desiato.20200630 header.b=jrdaHGMw; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id j21-20020aa7ca55000000b0045c97baba28si15508222edt.500.2022.10.20.08.12.40; Thu, 20 Oct 2022 08:13:06 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=desiato.20200630 header.b=jrdaHGMw; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230195AbiJTOSo (ORCPT + 99 others); Thu, 20 Oct 2022 10:18:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55024 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229915AbiJTOSk (ORCPT ); Thu, 20 Oct 2022 10:18:40 -0400 Received: from desiato.infradead.org (desiato.infradead.org [IPv6:2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 35A3E16A4E1; Thu, 20 Oct 2022 07:18:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=AzH2a4QXGz+eTNIZ5k3/P8jk/sAl3fN5pfERFMiCaGI=; b=jrdaHGMwT8rIg0f5wDQi0KOC+J iQjLh+Ip24wmMVh8GSFzWcelTLoD74kUuoZDjUWuicbHm3GIo8OwU5H9zACRf675jBrD85/5tRA+/ FBh0RIiF/4V+e45hHBKpixufUXdsVCfbNBY1uZGTabjE5na/CMoRTZwg3fb9WonaeSaNVSz23BppC v2Qlo7mw2yyHnG552uESl/zWzco2W0a+CLOGERPmVhem6U4y2V1p7OZTmD+i2MBq5AnHPkQ7Bgvzo fQbfYIrl0KuvOfRnD1bVZtTAMzRG7LTLmw8FGczXbcvoNopQPfjWdSNN3vfsOA1JROhVH1WEN2I0f 8HnjU3aA==; Received: from j130084.upc-j.chello.nl ([24.132.130.84] helo=noisy.programming.kicks-ass.net) by desiato.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1olWJ8-0053JC-Nj; Thu, 20 Oct 2022 14:14:03 +0000 Received: from hirez.programming.kicks-ass.net (hirez.programming.kicks-ass.net [192.168.1.225]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by noisy.programming.kicks-ass.net (Postfix) with ESMTPS id E644930045D; Thu, 20 Oct 2022 16:13:56 +0200 (CEST) Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id B99432C08F539; Thu, 20 Oct 2022 16:13:56 +0200 (CEST) Date: Thu, 20 Oct 2022 16:13:56 +0200 From: Peter Zijlstra To: Linus Torvalds Cc: Yu Zhao , Andrew Morton , Andi Kleen , Aneesh Kumar , Catalin Marinas , Dave Hansen , Hillf Danton , Jens Axboe , Johannes Weiner , Jonathan Corbet , Matthew Wilcox , Mel Gorman , Michael Larabel , Michal Hocko , Mike Rapoport , Tejun Heo , Vlastimil Babka , Will Deacon , linux-arm-kernel@lists.infradead.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org, x86@kernel.org, page-reclaim@google.com, Brian Geffon , Jan Alexander Steffens , Oleksandr Natalenko , Steven Barrett , Suleiman Souhlal , Daniel Byrne , Donald Carr , Holger =?iso-8859-1?Q?Hoffst=E4tte?= , Konstantin Kharlamov , Shuang Zhai , Sofia Trinh , Vaibhav Jain Subject: Re: [PATCH v14 08/14] mm: multi-gen LRU: support page table walks Message-ID: References: <20220815071332.627393-1-yuzhao@google.com> <20220815071332.627393-9-yuzhao@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_NONE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Oct 19, 2022 at 10:40:40AM -0700, Linus Torvalds wrote: > Because as you say, the function is already called "read_atomic", and > it should damn well *act* that way then. So I've been sitting on these here patches (and never having time to repost them), which is how I noticed in the first place: https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git/log/?h=x86/mm.pae