Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp962045rdb; Fri, 22 Dec 2023 09:57:48 -0800 (PST) X-Google-Smtp-Source: AGHT+IHDhu8C2ZVKrp90v9/aJyIx/e5i/Ip0jh8TAaY9onpGctDaTjQxp7Lde/JCN6tvsSI3pfF6 X-Received: by 2002:a17:903:2306:b0:1d3:b386:2296 with SMTP id d6-20020a170903230600b001d3b3862296mr1292230plh.4.1703267867767; Fri, 22 Dec 2023 09:57:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703267867; cv=none; d=google.com; s=arc-20160816; b=kyM5FJmzboCOmybsWrA/7bXBlQl+fjlwBl2hlRDLki/N9g/WYlAab2Hsl7DqpNJhjS EupCtrq/65W2g1ceR6MOXHyqVBBdwjiPPHco4+yuoa9cOc2qCNBONkBwVbZa3VkTI0kS T56G/bwWJix8zOXKO5vjaED91vRP/bDFdCUUutSYxMYCd615d0s+ZjW0fiqr0O10N5aW M6cjXO5SyqEw4df4EEMftcEi9xpij8RWznmsfvOkj89SYC/auzP1h5ekUoH+vf+3T2p1 0pF3qHqVaV0UJ59Fv12p44r4ev5Sqphi4KbcdmNAB8NfzSP2vePPMMLGfGlClBeV23PR xBFA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=x3/1/0HgnjybSilGExr/65GYb/YDKsO+LpDN+HfqaGk=; fh=BebewaRH9kfDB9aH/GXbjNUW57Ld7alCYxfsCfaUPK0=; b=cLIGylwVUtkdjXn0/Hs3CsgrfiFC37ymfR8MffaNikEGi0vBFKjqfDKlmdbc2nm0uM 0KtzAQkv7WCtnkC44RTIdxp7wfC0hIdhzG7D1W0zKxhiZKKKcGXQthElNWUBhnSS2/48 kSMCZ7abYZLIfMrhx1WWbtsk0Rfh6ihy4U9DC/6qGGCA9ldAd/pxp42923e0upcwlAaE ICqpyTZzwR7WfvU5jtT/qhNXf8FHwR+0FSatgsNn4Ww1seOcp5q2jSg3c72t8VZqmvuZ aPCO+feMB+Njq2LbYsEgIUicOreoAyZdDYergaAwFmu9K8jrkIJropJspsowWpi+oszi s0CQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=rtbQqxlU; spf=pass (google.com: domain of linux-kernel+bounces-9990-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-9990-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id h1-20020a170902748100b001d35645b661si3534102pll.250.2023.12.22.09.57.47 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Dec 2023 09:57:47 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-9990-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=rtbQqxlU; spf=pass (google.com: domain of linux-kernel+bounces-9990-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-9990-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 6EBAF28AD13 for ; Fri, 22 Dec 2023 17:57:47 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C5C862C18E; Fri, 22 Dec 2023 17:57:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="rtbQqxlU" X-Original-To: linux-kernel@vger.kernel.org Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id F104D2C188; Fri, 22 Dec 2023 17:57:37 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 858E1C433C8; Fri, 22 Dec 2023 17:57:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1703267857; bh=m4PmBJoc2QgJBZKQaB/vYcP8WBPPEuhKuwezCH8Kcrw=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=rtbQqxlUpwiNlXB65dGhn+BSi0lyJ6K4d26pR5L7WRilWt9ADVrB5Jfv26QgNKACp bOTJFDLgjG7+0frVS7XBHSETrNu6Q3tUJFtNdu2XAPOUVt0FgnnyiKk3f6ss7hxG62 yERCXVb6wWDY1El7z1Slpcd7bFXj4SFPquph1gi1y8G9k/4Zd6UfgffpLnhgSTCKdA 1BOxukP+hA7fw3TzfOgRPItsTCVwyh8F2muxPCLuUfzVscz5RXeDh7cbJ3txKZ5Vzi 82fS+Iz9dj1qs3eANeWJ5Vyi7oCTvFdj9DLewfGzuRLHZH6F8HcPy7NgijTdI7AJYl My4u/m4P0jGBA== Received: by mail-oa1-f44.google.com with SMTP id 586e51a60fabf-203fed05a31so1357199fac.0; Fri, 22 Dec 2023 09:57:37 -0800 (PST) X-Gm-Message-State: AOJu0YwbhghmYtnvsh1ncXBqOZLuWw4osEYhXWko7wYzuJ1N3qGPe2sB ZqoVjnT/9loDf8QQkzzms+Uym9Vt53sJY4QRnSw= X-Received: by 2002:a05:6871:a690:b0:1fa:1f3e:b8a7 with SMTP id wh16-20020a056871a69000b001fa1f3eb8a7mr1939357oab.20.1703267856913; Fri, 22 Dec 2023 09:57:36 -0800 (PST) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20231212020259.2451253-1-quic_johmoo@quicinc.com> <20231212020259.2451253-4-quic_johmoo@quicinc.com> <93ee22bc-b357-4291-b3d9-07ff2cd6c87b@quicinc.com> In-Reply-To: <93ee22bc-b357-4291-b3d9-07ff2cd6c87b@quicinc.com> From: Masahiro Yamada Date: Sat, 23 Dec 2023 02:57:00 +0900 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v7 3/3] check-module-params: Introduce check-module-params.sh To: John Moon Cc: Christoph Hellwig , Nathan Chancellor , Nick Desaulniers , Nicolas Schier , Jonathan Corbet , linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-arm-msm@vger.kernel.org, kernel@quicinc.com, Greg Kroah-Hartman , Rob Herring , "Carlos O'Donell" , Randy Dunlap , Arnd Bergmann , Bjorn Andersson , Todd Kjos , Matthias Maennich , Giuliano Procida , kernel-team@android.com, libabigail@sourceware.org, Dodji Seketeli , Trilok Soni , Satya Durga Srinivasu Prabhala , Jordan Crouse Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Wed, Dec 13, 2023 at 1:58=E2=80=AFAM John Moon = wrote: > > On 12/11/2023 11:41 PM, Christoph Hellwig wrote: > > On Mon, Dec 11, 2023 at 06:02:59PM -0800, John Moon wrote: > >> One part of maintaining backwards compatibility with older > >> userspace programs is avoiding changes to module parameters. > > > > Really? I don't think module parameters are a UAPI in the traditional > > sense. > > Agreed, they're not UAPI in the traditional sense. But, we're trying to > establish tooling to help the community stabilize all interfaces that > cross the kernel <-> userspace boundary and module params do fall into > that bucket. > > > Now if you break a heavily used one you got to fix it, but > > applying strict stability guarantees on module options which are not > > availble to normal users or even normal programs doesn't make a whole > > lot of sense. > > > > True, but unfortunately we don't have any heuristic to determine if a > param is "heavily used". However, in this rev, we added the ability to > parse the permissions of a module param, so we could add a filter which > does not flag change/removal of params with 0{0,4,6}000 permissions. > > It's also obviously fine if the community has no interest in the script. > We just wanted to share it as we find it to be a useful supplement to > our code reviews and thought maintainers may find it useful as well. > > Cheers, > John I am with Christoph. This tool detects some changes and removals, but I think the community intentionally changed them. To merge this tool in the mainline, I need more people who are interested in this. --=20 Best Regards Masahiro Yamada