Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp1413325rwr; Fri, 5 May 2023 13:50:43 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4K9ctyJ/fvX3Rkkuo08WXhsRKk1yic4lb3zZqae2Mp5Z9jDy7Phc95M7/RRbHrOp/MIMyH X-Received: by 2002:a05:6a20:7348:b0:f0:98ff:97e2 with SMTP id v8-20020a056a20734800b000f098ff97e2mr3493494pzc.24.1683319843510; Fri, 05 May 2023 13:50:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683319843; cv=none; d=google.com; s=arc-20160816; b=L0N9qta6q/9WyUlGvgezS7xhpQQecpNKd2gxVAeCYjJXaMbqS3MEb0F3FkfKPCIUiv NpywmK4lCku7+lwYF4qj65+lhnUm+3fVbYYtOgF5yq2gwTd0BYuMJpEeGcLtKg6I010B WqYwdfuuwNBr0nzFsZzp+i63MtErqZRz1D2vjSIuOf8PeIdwvJL0nlaafck7NPToc7Zb mUzJ/+ruzt1OeglD4k0b/Qt4/uSx0nTHXTX3ps77nIuyYVDn3vMwviagUzI/MiTVE76X eb9YcgEMQWHRoOybhPq4+XuSc2dnUUIJjSAatK8IAu1ZmnOWdYheleJNYkTjCfNiKHMv 8+Iw== 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=Y9zs8QR1BXNSq05tRO7tKYIwg7nfu3tFLxqafCShxSA=; b=lNJ/NGjhfDMx4zlhc4lET+7NT9snIsWq6Viy2r/uYtM2g0ByDW2zJp0mh0eGfRDppI 9EODoq5M5kiKQond4pkVQ11T4bwzkSRGIgr6+vVabYxDNiDsY5VVZdWkMugS+DNO3m8U 1AU2JMF3VPLjTQrVF/ALi9UOOvQbbA52DXxhr/6Otanz5NmZXrZougGGKpbY4AoEQlBR fiCAN042eEYMsz/3QKkGpXyGshPrRosumfMKV3+I4Rct0NL8csJDI9IzQ2C5gSSULDYo S8OBbdcnQTgtX5TX+c0ftyPwBgXy392hSksePxZF6qzRc6cDDlo/8MXRhfuoJHZqEnO5 GJaA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=korg header.b=m8xSlKCb; 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 f11-20020a63754b000000b004e4b651bb5esi2818709pgn.172.2023.05.05.13.50.16; Fri, 05 May 2023 13:50:43 -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=m8xSlKCb; 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 S232277AbjEEUe4 (ORCPT + 99 others); Fri, 5 May 2023 16:34:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34526 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233293AbjEEUep (ORCPT ); Fri, 5 May 2023 16:34:45 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EAB6D4C12; Fri, 5 May 2023 13:34:28 -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 DD65A62FB4; Fri, 5 May 2023 20:34:27 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0106CC433D2; Fri, 5 May 2023 20:34:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linux-foundation.org; s=korg; t=1683318867; bh=AFT7knrEPhLEA6RJfSbjIHYPUd6cKJPFX4vMnUj8HPQ=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=m8xSlKCb794at+pDA2CJBWf1z89M4bzl/yxif1iN1rRFavvCkd6CIBqS4Wfs3CHVb ckNOj9uS/IU0bXbDQcGVI6Jvd7Rs8eVaITk8flI7trvTNMMSCWFTfmIl4/QmQkKdp6 ON1+OmL2ISBXHNuSKDUwopFfdyHqMO72iG7BniTo= Date: Fri, 5 May 2023 13:34:26 -0700 From: Andrew Morton To: Geert Uytterhoeven Cc: Nhat Pham , hannes@cmpxchg.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org, bfoster@redhat.com, willy@infradead.org, linux-api@vger.kernel.org, kernel-team@meta.com Subject: Re: [PATCH v13 2/3] cachestat: implement cachestat syscall Message-Id: <20230505133426.d70a6599d9a729496b68a70c@linux-foundation.org> In-Reply-To: References: <20230503013608.2431726-1-nphamcs@gmail.com> <20230503013608.2431726-3-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=-11.4 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 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 Thu, 4 May 2023 19:26:11 +0200 Geert Uytterhoeven wrote: > > arch/x86/entry/syscalls/syscall_32.tbl | 1 + > > arch/x86/entry/syscalls/syscall_64.tbl | 1 + > > This should be wired up on each and every architecture. > Currently we're getting > > :1567:2: warning: #warning syscall cachestat not implemented [-Wcpp] > > in linux-next for all the missing architectures. Is that wise? We risk adding a syscall to an architecture without the arch maintainers and testers even knowing about it. The compile-time nag is there to inform the arch maintainers that a new syscall is available and that they should wire it up, run the selftest and then ship the code if they're happy with the result.