Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp19342pxb; Wed, 6 Apr 2022 20:25:35 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw3NpPEbGu74qXn/jz8swPO6iqeNJj9jjrf5zlhQNPiIm+/g197lquzeVIpyTUgXqWxhK2r X-Received: by 2002:a63:df14:0:b0:381:309f:10bc with SMTP id u20-20020a63df14000000b00381309f10bcmr9733468pgg.77.1649301934953; Wed, 06 Apr 2022 20:25:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649301934; cv=none; d=google.com; s=arc-20160816; b=q3H/qBVXzEAChGqiK88X9rd9XQzuy96dtMP/X5oCRJLuM71IB9+NZu53gHxY0itoBN G3xLD/MUotljm3iTgsaAt+59UoCeTxyl4DuQV9uo7SzLBZTh8JhXbEysdI+1atsIVeOp xkuRwLfQ/WIOyha3Tho9tw9JUlKLlS6hZWmlVQHe0ncBnGmIlI0rZ4MllZ/1Wpk0ji+e EV9LbO28lz1yTsKDq61kl4u5EQEeMyvk9N96X0iT3ByA53PbqZIciV+w4d5AzcYB7Jjy 61lf3QGyuiMOXvDfeuOT4ki0wCOqkDvivQt2Bql0r2WJdjch7xMJ4ixruRpEYhnw72j/ epJg== 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=zRRr9o88MDfRNGGOv6NfO7sRgkAybsODKK4BSnVRap4=; b=KXzMrLwpXoQwzBBrqY4eg/99H72a5V0obxGMBaKREPmS0GUrd91RJVKlzxawttLkuM jYtQjrZSInNCm7N50/QFqzK6bTFHCyBhrE/oYRoZWpz8q3goMAq6Dq2SDUkc0qJvSfat crMu03VXReWmZmSosovjqhQwc8sWDVyJpJ4D6hpGjsaGMXsRCmPQu+XTv7i1X9GFnzpH iTp8Oa7XooNaj736hKSpdAo8moWGTp39brtE6cTt6aHwWJS9Jd3uMeH945uD6dMzId23 MfB3HDUYu3mCmBjA6H4hRsyv1+N+xfD3P2yXBva4FnBx6kuBaX4nHh/xrxgObEIKkrua ho3w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=VaxVKW54; 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 q61-20020a17090a1b4300b001c79aa946bdsi616114pjq.122.2022.04.06.20.25.20; Wed, 06 Apr 2022 20:25:34 -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=@infradead.org header.s=bombadil.20210309 header.b=VaxVKW54; 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 S233635AbiDFWae (ORCPT + 99 others); Wed, 6 Apr 2022 18:30:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50976 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229939AbiDFWaa (ORCPT ); Wed, 6 Apr 2022 18:30:30 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A474C21D070; Wed, 6 Apr 2022 15:28:33 -0700 (PDT) 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=zRRr9o88MDfRNGGOv6NfO7sRgkAybsODKK4BSnVRap4=; b=VaxVKW54QNABawNWlza69u7VPP 5stOVViYh4fjXc3yLa/Va+sA/1sUYHu2JJYZg/g+k89WKzGcp7HS/uBK+0hYO5+krQ7bzC8ZE6txY mP/9lxoDtY1KRgKM3gwbI60KdzBDGY+862MyKBTnZbdU9Dq5/mOPlNFF3S6xXlhruUNL8b/g/Rdgy kaAD5aDH34BdrqPFZVtJCcObp7Fvx9sJLGUaxZJ+eQ3PrkRceOk0g4zKjxh0+K5IRVTQbn7pK+Lwf 1vbr5WO8RwQxLDeAppiIJVxXvRVHDu5+cNv0XxpEA7kx00iEqzRxamNf2fJOlaHZPANxZHtDwnQYv Uh7rFPLQ==; Received: from mcgrof by bombadil.infradead.org with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1ncE8c-0088W1-0d; Wed, 06 Apr 2022 22:28:30 +0000 Date: Wed, 6 Apr 2022 15:28:29 -0700 From: Luis Chamberlain To: Meng Tang Cc: keescook@chromium.org, linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, dave@stgolabs.net, nixiaoming@huawei.com Subject: Re: [PATCH] fs/proc: Introduce list_for_each_table_entry for proc sysctl Message-ID: References: <20220315060616.31850-1-tangmeng@uniontech.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220315060616.31850-1-tangmeng@uniontech.com> 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 Tue, Mar 15, 2022 at 02:06:16PM +0800, Meng Tang wrote: > Use the list_for_each_table_entry macro to optimize the scenario > of traverse ctl_table. This make the code neater and easier to > understand. > > Suggested-by: Davidlohr Bueso > Signed-off-by: Meng Tang Can you re-send based on sysctl-next [0]? [0] https://git.kernel.org/pub/scm/linux/kernel/git/mcgrof/linux.git/log/?h=sysctl-next Luis