Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp2536875rwl; Thu, 13 Apr 2023 07:44:57 -0700 (PDT) X-Google-Smtp-Source: AKy350Yi5U5lkfZgHgvLwmmhjlkoePatq8Gi8tRq9uKZ+zCPySI5SFqQIVQ9cUjeY43k6MK0aJC8 X-Received: by 2002:a17:90a:c402:b0:23f:3539:d326 with SMTP id i2-20020a17090ac40200b0023f3539d326mr2399075pjt.0.1681397096704; Thu, 13 Apr 2023 07:44:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681397096; cv=none; d=google.com; s=arc-20160816; b=eogodezsK7CqZ365RZk9GM52A01pPiOC+aQCzPdsXjfjdkTnYSmZcv4eHLtntmhP8X q5l24Lx8LC3FP/pMN/lrEXuykSOpz0YZhqd1+Sgx0N52/qxNYB52k9oKsh5tXkQz58G/ hs1vlcB+KGCoG4mA48nk3y5UW3rIeOnkDlqW/b228I50dgbRUPZADxsbJapAyJN9GK+r 92rMySLftfqthPJJ8vLGrpQJPcDQKbAF4e9E7/dL0uvvNoKTR1YKY/LOKVl/dM9C1MV5 fNCnovJuEI73Baw7DqoxFfx58zh1vJJRJD3le6yfbr2+ksJM2iNtQSdysCG76SszfYaB kTpw== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=ZRwoNHCg3Qd6/SU6rWpni4uie/z3q0bDcBsHnvyXoD0=; b=haaivV/D64oW5tP2XTYNsIjg9ADRBZBZTPXJIvFufTp/U99n4dTXPlZcXv8oux+Y4i bdIscYFeIWj9sZbalZAkCSibGIZEmF5gAJnm20GxsoPsxP/ImK8nIzpmzeHPBOGFMSnD FOHDA3uZPQ53n729XKZCYAsf41HiXt5rTLaGkSzJCNdY/DEROXie3JcA7TcdoQFaJ0bm RrxcuUtSzBg2R15vQrjvmRfj6aP4HtWJYBYa3Ba4TdUQ1RGBu95kqFu++KEqfcnV/OGs ZyD1e0T+yJbAXO5OIKunbDok4D/HiJs2xhTC5kDFEifmAW0V2kcO+ws272qSUn2wMbxr o5xg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@me.com header.s=1a1hai header.b=IbVEGk91; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=me.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id c10-20020a170902848a00b001a55571febesi2186695plo.277.2023.04.13.07.44.45; Thu, 13 Apr 2023 07:44:56 -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=@me.com header.s=1a1hai header.b=IbVEGk91; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=me.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230377AbjDMOmw (ORCPT + 99 others); Thu, 13 Apr 2023 10:42:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37084 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230254AbjDMOmv (ORCPT ); Thu, 13 Apr 2023 10:42:51 -0400 Received: from pv50p00im-ztdg10011301.me.com (pv50p00im-ztdg10011301.me.com [17.58.6.40]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D95865260 for ; Thu, 13 Apr 2023 07:42:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=me.com; s=1a1hai; t=1681396529; bh=ZRwoNHCg3Qd6/SU6rWpni4uie/z3q0bDcBsHnvyXoD0=; h=From:To:Subject:Date:Message-Id:MIME-Version; b=IbVEGk91ztnZ+47BMUBsxTxOYRUaYXQM3xw1MUyNnvMBeNMgpH8n0hqp5WqJ9llvv VwTWDZesBKLMI8xU3zlvRAztgafz8YArYnW4yg3knQ+q3tqSskC6vrtjrKSVeMo188 1VP5F/OisCKxZwgA22Yob7qMlkXKZJR4eB2VuTnX+a5uVP9xk/JGvIc4WRjUCtWFOH CrLSbmDL9K6QQqY0r9xJWZ24N5XNVVp7hBahkY6aBLpem7uWdTHFOCTbKg6dOlCAKv cAQs4MG0ibFSP63WAPHIWbN4R1teZXsPZ2jWt2VB/+H0gONtXIiRF/ZB5BTbmBK/t1 nvhigtdx8NYVA== Received: from xiongwei.. (pv50p00im-dlb-asmtp-mailmevip.me.com [17.56.9.10]) by pv50p00im-ztdg10011301.me.com (Postfix) with ESMTPSA id D5867180940; Thu, 13 Apr 2023 14:35:23 +0000 (UTC) From: sxwjean@me.com To: cl@linux.com, penberg@kernel.org, rientjes@google.com, iamjoonsoo.kim@lge.com, akpm@linux-foundation.org, vbabka@suse.cz, roman.gushchin@linux.dev, 42.hyeyoo@gmail.com, keescook@chromium.org Cc: linux-mm@kvack.org, linux-kernel@vger.kernel.org, linux-hardening@vger.kernel.org, Xiongwei Song Subject: [PATCH 0/5] Some tiny clean ups for SLUB Date: Thu, 13 Apr 2023 22:34:47 +0800 Message-Id: <20230413143452.211250-1-sxwjean@me.com> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Proofpoint-GUID: Fyx9MUGIrZKbkGwvJjlWiGQSd2t9Nin6 X-Proofpoint-ORIG-GUID: Fyx9MUGIrZKbkGwvJjlWiGQSd2t9Nin6 X-Proofpoint-Virus-Version: =?UTF-8?Q?vendor=3Dfsecure_engine=3D1.1.170-22c6f66c430a71ce266a39bfe25bc?= =?UTF-8?Q?2903e8d5c8f:6.0.517,18.0.883,17.0.605.474.0000000_definitions?= =?UTF-8?Q?=3D2022-06-21=5F08:2022-06-21=5F01,2022-06-21=5F08,2020-01-23?= =?UTF-8?Q?=5F02_signatures=3D0?= X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 phishscore=0 clxscore=1011 bulkscore=0 malwarescore=0 adultscore=0 suspectscore=0 mlxlogscore=526 mlxscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2209130000 definitions=main-2304130130 X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED 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 From: Xiongwei Song Hi, Just clean ups, no any functionality changed. Thanks for your time. Xiongwei Song (5): slub: Correct the error code when slab_kset is NULL slub: Put objects_show() into CONFIG_SLUB_DEBUG enabled block slub: Remove CONFIG_SMP defined check slub: Remove slabs_node() function slub: Don't read nr_slabs and total_objects directly mm/slub.c | 45 +++++++++++++++++---------------------------- 1 file changed, 17 insertions(+), 28 deletions(-) -- 2.30.2