Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp8512599rwr; Thu, 11 May 2023 02:14:33 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7GxzPl4S3m3p18sLZ/ieHSW2eZNT/Uj+tdX5bTKAkA8r82niTJ1UMbYRM3YJ3ezIplDSww X-Received: by 2002:a05:6a00:188f:b0:63b:8eeb:77b8 with SMTP id x15-20020a056a00188f00b0063b8eeb77b8mr29748402pfh.13.1683796472900; Thu, 11 May 2023 02:14:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683796472; cv=none; d=google.com; s=arc-20160816; b=EMwe4N1C8v5lQkQ5HJwyVKVmLuCSEmBVxWyGGOsnUyWgZvM8RaPDg8il/yhpJt7siL UVWOcIJ+vusPTDR6yRMVir6rbLOPP2uTtooBGMTvtRTio5GSgKvB5avQeQ0wXdeOXg6f ntoC4XgQ/rSETyYy2WRhdulil993n9kdtdmo0Ioi+m85/m3e1i/MuzxWID4jreqflIiR Eo0s7KKcuY4Mu6hEvsbZJN4/3fVuEFvBn4Hj73E4gNyftBKKE95Pa63LffjODnLyfHfD 5N7/nqEAX8hvLJCOF5h4N66n/va9zti5EVfjw124U/UL4buGWIZUd8kgWVfFL9NpofIJ zOAA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=KATKL5c9hHw7borFknSpolyvbkYiWwqKIKb81BIcugs=; b=r/ZbUXfU5FUlZz8WOdHgKNfecQaZVrRq+yR/jCmZ4sLGc2o9lzVdiF2R7kzOC7Txqi N8Aitt+E9r3AetmcSf2whCQMxajmkUOpWbWMde5u/0/auRP4GxMBVuIPXu6EAG32pVAb UgN8s75bk4bKx+BD7ToV4v5AHTN8bywiQ7UsepxUJiWnlgPZU/AGTlx/chxsFpHxz0Rl 4PRgrB4wZWrkv+TY3GSoYZCskgdVbAJkYIImbdIhVb16q5JTuZsj3BEzmrgpyec0roAr VymDe1mqhTZPVa01IE0sJGcGHBNhJUZc+QLV9xqdbBdMtEL8DeoWWWYidvaX9+es8BEF oY7A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=LiA5aCTh; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h1-20020a056a00000100b0063d2608a875si7318386pfk.374.2023.05.11.02.14.18; Thu, 11 May 2023 02:14:32 -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=@gmail.com header.s=20221208 header.b=LiA5aCTh; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230337AbjEKJBx (ORCPT + 99 others); Thu, 11 May 2023 05:01:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57928 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235696AbjEKJBv (ORCPT ); Thu, 11 May 2023 05:01:51 -0400 Received: from mail-qv1-xf2c.google.com (mail-qv1-xf2c.google.com [IPv6:2607:f8b0:4864:20::f2c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AFA6E270E; Thu, 11 May 2023 02:01:49 -0700 (PDT) Received: by mail-qv1-xf2c.google.com with SMTP id 6a1803df08f44-61cd6191a62so37795906d6.3; Thu, 11 May 2023 02:01:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1683795709; x=1686387709; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=KATKL5c9hHw7borFknSpolyvbkYiWwqKIKb81BIcugs=; b=LiA5aCThzGnNp7E+Ta+DAvVEwiclZpF791zLAUwx+Als8erWN8Yl7PpwtloKY7vfA7 +VTsnl2KSlBmbyAImxRU3lG+IUT2Wqb5hUFCcAsZyEs/D1k9iAGqD79kt7aecJ/Cxj9r eR6nzEnIzjucsN/6A+1hNPz8FvRo+Kuj2ketbPBiwSj1JqzajAiKbzNVkW/c2RJBCR3k MZC8rrsOEhbdZrX91ntkakGdeHJHeYwEVqGe6cUOqDaw42N8TysvScbiMKu+APTP9eCY 3fchxaSfDDqrX5GvKxMc/O6qbvizbF/orFqeAlT1EFH85PiOL82QGmIN8EQXMGf+kfzf 4sBA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683795709; x=1686387709; h=content-transfer-encoding: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=KATKL5c9hHw7borFknSpolyvbkYiWwqKIKb81BIcugs=; b=Jm/KMUODbh3xfPvkr3EYAuyjraxkpSRfZkRQWRGd5Ni7IbcADn0Gmc1VLLk98s3z9m EJiGkpqjUQ0tC5HxHf5YZV60s6UtPPlkQVdvm1h5pJJfRPKiEimnTlRB++OjkWSIbF1u Otn7mvfa886ruINYOtyRdbugYpAEWTVDfBlwLVsI/hr6ywsN1DPKMkLXjOMOAxk0bjQI BReSDiab4UPJnzoyBDJF/InErcCr4JvBpVbZtqVsXUCilmTZdMG/tIE+WNT/sUn3melK AwkghZc3Z2AqjhrL9anBDdH2kmoFl5puCzyT3onzJXq4BvaJliEsaRKyGpK3Vl9CYXB2 A1bg== X-Gm-Message-State: AC+VfDyzC7lf57fXKzBy/EGTdDQtdzE/qz8MHkRSvRizewlVNRHhKu+W W+53RpRqW6fi3BHHecNDevm8P/xI+BC0LyHZF2Q= X-Received: by 2002:a05:6214:4018:b0:5ef:3b9a:b01d with SMTP id kd24-20020a056214401800b005ef3b9ab01dmr25843220qvb.1.1683795708608; Thu, 11 May 2023 02:01:48 -0700 (PDT) MIME-Version: 1.0 References: <20230510195806.2902878-1-nphamcs@gmail.com> In-Reply-To: From: Nhat Pham Date: Thu, 11 May 2023 02:01:37 -0700 Message-ID: Subject: Re: [PATCH] cachestat: wire up cachestat for other architectures To: Geert Uytterhoeven Cc: akpm@linux-foundation.org, linux-mm@kvack.org, linux-api@vger.kernel.org, kernel-team@meta.com, linux-arch@vger.kernel.org, hannes@cmpxchg.org, richard.henderson@linaro.org, ink@jurassic.park.msu.ru, mattst88@gmail.com, linux@armlinux.org.uk, monstr@monstr.eu, tsbogend@alpha.franken.de, James.Bottomley@hansenpartnership.com, deller@gmx.de, mpe@ellerman.id.au, npiggin@gmail.com, christophe.leroy@csgroup.eu, hca@linux.ibm.com, gor@linux.ibm.com, agordeev@linux.ibm.com, borntraeger@linux.ibm.com, svens@linux.ibm.com, ysato@users.sourceforge.jp, dalias@libc.org, glaubitz@physik.fu-berlin.de, davem@davemloft.net, chris@zankel.net, jcmvbkbc@gmail.com, linux-alpha@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-ia64@vger.kernel.org, linux-m68k@lists.linux-m68k.org, linux-mips@vger.kernel.org, linux-parisc@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-s390@vger.kernel.org, linux-sh@vger.kernel.org, sparclinux@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable 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 Thu, May 11, 2023 at 12:01=E2=80=AFAM Geert Uytterhoeven wrote: > > Hi Nat, > > On Wed, May 10, 2023 at 9:58=E2=80=AFPM Nhat Pham wro= te: > > cachestat is previously only wired in for x86 (and architectures using > > the generic unistd.h table): > > > > https://lore.kernel.org/lkml/20230503013608.2431726-1-nphamcs@gmail.com= / > > > > This patch wires cachestat in for all the other architectures. > > > > Signed-off-by: Nhat Pham > > --- > > arch/alpha/kernel/syscalls/syscall.tbl | 1 + > > arch/arm/tools/syscall.tbl | 1 + > > Looking at the last addition of a syscall (commit 21b084fdf2a49ca1 > ("mm/mempolicy: wire up syscall set_mempolicy_home_node"), it looks > like you forgot to update arm64 in compat mode? Or is that not needed? It does look like I missed that! Thanks for the reminder. I'll send a fixle= t shortly... Best, Nhat > > > arch/ia64/kernel/syscalls/syscall.tbl | 1 + > > arch/m68k/kernel/syscalls/syscall.tbl | 1 + > > For m68k: > Acked-by: Geert Uytterhoeven > > > arch/microblaze/kernel/syscalls/syscall.tbl | 1 + > > arch/mips/kernel/syscalls/syscall_n32.tbl | 1 + > > arch/mips/kernel/syscalls/syscall_n64.tbl | 1 + > > arch/mips/kernel/syscalls/syscall_o32.tbl | 1 + > > arch/parisc/kernel/syscalls/syscall.tbl | 1 + > > arch/powerpc/kernel/syscalls/syscall.tbl | 1 + > > arch/s390/kernel/syscalls/syscall.tbl | 1 + > > arch/sh/kernel/syscalls/syscall.tbl | 1 + > > arch/sparc/kernel/syscalls/syscall.tbl | 1 + > > arch/xtensa/kernel/syscalls/syscall.tbl | 1 + > > 14 files changed, 14 insertions(+) > > Gr{oetje,eeting}s, > > Geert > > -- > Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m6= 8k.org > > In personal conversations with technical people, I call myself a hacker. = But > when I'm talking to journalists I just say "programmer" or something like= that. > -- Linus Torvalds