Received: by 2002:a05:6a10:9afc:0:0:0:0 with SMTP id t28csp3264636pxm; Mon, 28 Feb 2022 15:59:10 -0800 (PST) X-Google-Smtp-Source: ABdhPJyWKrv/ZzLHbrjMGK2+di9dPMBPNxrv43MzEJvpmRFMrjr//FLkpmIFwojv7v19BaRJSlZH X-Received: by 2002:a17:906:6d04:b0:6d6:e280:2e47 with SMTP id m4-20020a1709066d0400b006d6e2802e47mr1325198ejr.50.1646092749787; Mon, 28 Feb 2022 15:59:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1646092749; cv=none; d=google.com; s=arc-20160816; b=y/GZAWx+Jee33gsRSnx6B4Pc4VJBC02a6nzJAlq/NMHYYNpZE2aq+WAhXarGS3Rhpp Dc5O5hxt6YV6Oiv/gOfArgTW/XIX+MaKv3FvfEuEtrhAJhPAJZ+CF2jvA4VV6iNJy2i8 eNA9PhRXHmuwyLnwbxm67d7IZIweuXgf6xI/cm2jB2QBsyO9/8HmTaTvM2paMkKLsfW2 qEmjznYjwp50AJdByM1kaWn+KZPq7J1CXB11gNtwXMpOPdALzomKJWJaywFnWzsaJ/aV l4lq0ZNnyCHZnwO6u3PXMKp9/I2JauhbbV5k6XNpkgQQVUApV+tJlvjwjq1QzNEneunX 1CmQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=EB9oE9Oa7EmtoZ1Lx803QHV2N2v7wotOXn74UfZHS+0=; b=UdBCznJLgU+AVY2i3PjRD11NQ46tK2DqUo+kMTJe1WBa381rTP20l67RHHXML/Ay15 XT6EylRT/8Gglurq1iLZolTKN4epGtw0AJEjQpPtHo6GYTDO+75bAaZVNKkAa84gPHbu 0XF4924GYQlVKUc223XB0OkuuUhU16jwGPAEEwV4HIfE/Nb3Szas2VoKnJWdf1aK9ERq puqyS1NdU3fH7X0YYruRM21s3bZJL9gRUv1RWdkQ5SealfQ11jRWAga5MRR47Oab/A3T EzuOrzdcjEP/iMb+Xe8U0kPzh4MOQuY9Tokt1bxrNSDp6D+fdpPILLCter+MwZfNAGSJ an5g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=cB9s1pIx; 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=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id g6-20020a50bf46000000b00410a39f661esi7779670edk.495.2022.02.28.15.58.48; Mon, 28 Feb 2022 15:59:09 -0800 (PST) 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=@infradead.org header.s=bombadil.20210309 header.b=cB9s1pIx; 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=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231189AbiB1Xma (ORCPT + 99 others); Mon, 28 Feb 2022 18:42:30 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51784 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231127AbiB1Xm3 (ORCPT ); Mon, 28 Feb 2022 18:42:29 -0500 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 04916EBAFB; Mon, 28 Feb 2022 15:41:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Sender:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=EB9oE9Oa7EmtoZ1Lx803QHV2N2v7wotOXn74UfZHS+0=; b=cB9s1pIx16Y4LGAgwHkxzEhBJ/ 4fHVywdn15fIhMBTlSwjxeP6GAqFfbYARgdvSGkTTc13RV+1Gxvv4OojrS0KGNJSroguP3Uc0uuWb CKTPLVm/Yopu+qCmVQ0SAkVz2N9w7L4nzZKB/eGIlxvpdgD7IZQpNQjZ++FHjxk2XjX0fYtHRwNQe vXQdIKj4wmRnKIi7tPUGI1mPKhTLFLdKSodWM/jhZf9d/SXDiuzAXhq6s0enVmPneQ7GgI/E1hsy2 OPA4p0oHWRDSu9Tfu9HsrdgL0ygWhpDI3BqaKoApeBMdz6/zM1K591v17H2r74LEmjAShj3dCeY3t ZXdAUydw==; Received: from mcgrof by bombadil.infradead.org with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1nOpe8-00EQ0Q-40; Mon, 28 Feb 2022 23:41:40 +0000 Date: Mon, 28 Feb 2022 15:41:40 -0800 From: Luis Chamberlain To: Daniel Borkmann Cc: Yan Zhu , andrii@kernel.org, ast@kernel.org, bpf@vger.kernel.org, john.fastabend@gmail.com, kafai@fb.com, keescook@chromium.org, kpsingh@kernel.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, liucheng32@huawei.com, netdev@vger.kernel.org, nixiaoming@huawei.com, songliubraving@fb.com, xiechengliang1@huawei.com, yhs@fb.com, yzaikin@google.com, zengweilin@huawei.com Subject: Re: [PATCH v2 sysctl-next] bpf: move the bpf syscall sysctl table to bpf module Message-ID: References: <20220223102808.80846-1-zhuyan34@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: Luis Chamberlain X-Spam-Status: No, score=-4.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_MED,SPF_HELO_NONE,SPF_NONE,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 Mon, Feb 28, 2022 at 04:53:44PM +0100, Daniel Borkmann wrote: > Hi Yan, > > On 2/23/22 11:28 AM, Yan Zhu wrote: > > Aggregating the code of the feature in the code file of the feature > > itself can improve readability and reduce merge conflicts. So move > > the bpf syscall sysctl table to kernel/bpf/syscall.c > > > > Signed-off-by: Yan Zhu > > > > --- > > v1->v2: > > 1.Added patch branch identifier sysctl-next. > > 2.Re-describe the reason for the patch submission. > > I'm not applying it given there is very little value in this change, see also what > has been said earlier: > > https://lore.kernel.org/bpf/CAADnVQKmBoQEG1+nmrCg2ePVncn9rZJX9R4eucP9ULiY=xVGjQ@mail.gmail.com/ Daniel, sorry folk are seing you patches with crap commit logs. The justification should be made clearer: we're moving sysctls out of kernel/sysctl.c as its a mess. I already moved all filesystem sysctls out. And with time the goal is to move all sysctls out to their own susbsystem/actual user. kernel/sysctl.c has grown to an insane mess and its easy to run into conflicts with it. The effort to move them out is part of this. The commit logs should not suck though... Luis