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 6B884C4332F for ; Thu, 20 Oct 2022 14:18:45 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230062AbiJTOSo (ORCPT ); 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: 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 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id F031EC433FE for ; Thu, 20 Oct 2022 14:30:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=XwreFyLn6iBmyfIIVABgYMmsHBPkxVuu7sANOnpnIJo=; b=rOCU+Q2HDV4pmh Il1g7Sk7Wn/Mobc0jE9UvcyotXVBqUho3UdKWHHMuLeZSETrZGJ3wt3r5810ayKc6jKcOcV7N6v8V pgwjs8gFhecJdcbWZruJHMGsg5jSLacfCI6vWQDi6QKkQYf+Fyg07idO0IQ+ctrszSiBtQVo8MPMp FBJYD6atheYsuY1JSKCtLS3Aba9cnXIM90JQeDicFpOOw/BFPvnvSdCQhoPomMauYIIrfiosfXka4 ZcDXrXFPa6i3pYt/qZiVJCa5lW7ss3N/XWBgaHDVZCrObKbg/I4V97GPUgTnMrPIGe33urGbJDv+K IaSWH9T5shIz709hH/cA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1olWXq-00GASy-Lw; Thu, 20 Oct 2022 14:29:15 +0000 Received: from desiato.infradead.org ([2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1olWJe-00FxZl-Ii for linux-arm-kernel@bombadil.infradead.org; Thu, 20 Oct 2022 14:14:34 +0000 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-Disposition: inline In-Reply-To: X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.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 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel