Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp10871453rwr; Fri, 12 May 2023 14:29:49 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6pOwzus0yHHhEJpP22G4Tq0o77/y+YvpQel3HxBd+tiXj30aI/huS+c71bBCj2ewJoCauy X-Received: by 2002:a17:90b:85:b0:246:91d0:9e6f with SMTP id bb5-20020a17090b008500b0024691d09e6fmr26321182pjb.3.1683926989081; Fri, 12 May 2023 14:29:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683926989; cv=none; d=google.com; s=arc-20160816; b=hfYFmUcrKrt5Ro1VNWOdfgHzUzV+jG9Yi2YKsLHkyTBFhYIL0z6AktoKtq3cPy+CSl TT2XwBPiQp7z0b0gc90Ie1cvV8rqly9AwxB0WaGClhRHu47NOjv7UQOV2mJqIUJvXVNR 6p83L1nkH6LS6j9mqezqz0tvfGQpUSmMVZBpKX2h0ygLIYKlJkc501n0WCCoTAwDXVMe 2T5B1wzYr3AF/sk27rrU8/DjbQgBDPjmRnLPtJFFJ3eIe8/lcEWKmz1bIx1E0rharvzX MT4c2r/OJFvRXR/WDmaNw8uAs36646Q4eVWsntor3CmD1IaXO4LolLnfadw+c4v8VOQU +5dg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=vgOG+p+Y+a409Wn28/rLCzD6TF7m5gDItIjZgskRYr0=; b=imEJiuRPHSoubvOSna6DB49lzOqKqNLFyF1FiUnfiZSO6kDx4mOHe6AiQ+CokW+A9X ob3MnV1tkLc7pj7lbmbuIUWnrhf+BHLWikOFtLzX+HDShWGYMHaXNzrsRfGxN77AWW50 2XircJ0wT4Rlsa0YndMNXR2AP09Qe1iJB3DxD+XGtxwJr+AZTK+DGnfU+XJtO7K4Ylz6 7HVJiapIXMXvtlgrW4QG2ehqDsQ02x4Wf7GWinDF/KZG7LMpnHvuKY0HUzS7n2nHDeld 2xtP9o89ESkG+ke6WLjRZXo6H3Jya/ZuCfpoL+1JuqckxN4jtcziZ69FAfX0Gk0zwNRc n5Lw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=korg header.b=axXGw573; 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 lk10-20020a17090b33ca00b0024753cf81fasi26359776pjb.177.2023.05.12.14.29.34; Fri, 12 May 2023 14:29:49 -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=@linux-foundation.org header.s=korg header.b=axXGw573; 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 S240168AbjELVQj (ORCPT + 99 others); Fri, 12 May 2023 17:16:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41218 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240097AbjELVQd (ORCPT ); Fri, 12 May 2023 17:16:33 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 82ADFD2D3; Fri, 12 May 2023 14:16:05 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id A30D1658C2; Fri, 12 May 2023 21:15:12 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9DBB7C433D2; Fri, 12 May 2023 21:15:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linux-foundation.org; s=korg; t=1683926112; bh=tK/i+sli1Qx6hi7lAgqjt19/P/qmplAKgc7mqzvPIK0=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=axXGw573Ua/pYEsjK9DTEp81AR36GlN/Ei1OYz7L+p3Xa2y5J71aAVy/MjHfvCaZX 5kFFxkdHKE/ySOFoh0g6rh0qu02pC2aQY4ujsJmpJzzF7I0Bok3K0i9mGVPWvFFR+S vkuig7T1usTBxcGHcQraC7mKcIGTja/w5yTqpRG8= Date: Fri, 12 May 2023 14:15:10 -0700 From: Andrew Morton To: Catalin Marinas Cc: Nhat Pham , linux-api@vger.kernel.org, kernel-team@meta.com, linux-arch@vger.kernel.org, hannes@cmpxchg.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org, arnd@arndb.de, will@kernel.org, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH] arm64: wire up cachestat for arm64 Message-Id: <20230512141510.20075825899e3c869c5358ca@linux-foundation.org> In-Reply-To: References: <20230510195806.2902878-1-nphamcs@gmail.com> <20230511092843.3896327-1-nphamcs@gmail.com> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.33; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-9.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,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 Fri, 12 May 2023 11:42:26 +0100 Catalin Marinas wrote: > On Thu, May 11, 2023 at 02:28:43AM -0700, Nhat Pham wrote: > > cachestat is a new syscall that was previously wired in for most > > architectures: > > > > https://lore.kernel.org/lkml/20230503013608.2431726-1-nphamcs@gmail.com/ > > https://lore.kernel.org/linux-mm/20230510195806.2902878-1-nphamcs@gmail.com/ > > > > However, those patches miss arm64, which has its own syscall table in arch/arm64. > > This patch wires cachestat in for arm64. > > You may want to clarify that this is for compat support on arm64, > otherwise native support uses the generic syscall numbers already. Thanks, I updated the changelog thusly. Note that this patch is transitory - it will be squashed into "cachestat: wire up cachestat for other architectures".