Received: by 2002:a05:6358:53a8:b0:117:f937:c515 with SMTP id z40csp5045718rwe; Tue, 18 Apr 2023 00:58:55 -0700 (PDT) X-Google-Smtp-Source: AKy350ahmVMECrwsyXMRDaQScu3hDLrg9WaVnNvP7yL5MDMUxZ7TkZ+5G80LU/wj4ux58/Mb5OSm X-Received: by 2002:a17:90a:cd06:b0:244:952c:9701 with SMTP id d6-20020a17090acd0600b00244952c9701mr1386070pju.7.1681804735019; Tue, 18 Apr 2023 00:58:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681804734; cv=none; d=google.com; s=arc-20160816; b=lQKUj6DjrM+h0+EqFJJ+BGmZCMgfkRwBS0EZvz5MPbmogGSO15oAtEKLNxqxtKXrW+ AGQjTOnWj46V1Z0TQuMIKW4NyoRzQrWn6UIaqUA2QbylAGMFDKg6X5dOo95iplqTXSBn wwV0UNjNT+1isUQ8tpCoVDZoOOtlqI1SqRQtLlPHAPpfYlzatyMVOdrctHVFFJLrB6ca cxRWflAY3RooAz/eXYjKB/YsYdJuloTfyvqPDVZXBe9ldnKnZRJmYYCqheGESGoSIyCp g+vscTEndHJC2oEnFcg6TMMnqNb0w2saB6LlydGmcS71/6VyRKo51DwRQDZM0JbDtHDE z+ZQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature:dkim-signature; bh=46e7WTGcHNks6sxTiebpVk6ExMfzEHXXE/aXkJusS5g=; b=MUVRwnguEWT6VbzFzZwRVnGsKn5bRUOjSYz7LaEM0RcRCFWElCxF/D18lnLD3eHAiV CTVeSRcCtCcz0PYn1pOHxiIWtaxQQMDbJCBV8J34cJCzD8hxh5VCVnMBgF02Ne+6Tgbj 4qeMn0h8Od978b0uMPZyCQYoOqToLHNp/sliI8Pli7Jqp7WCVfM5r+yLkAh4Wakw6qP6 Zg20cTKFRca4I/kIsZmOUVUGDwHHwLJikD8FjmOz/JlB2MjVaaUlrq79chSuniub6e9W w6wXnDCeY3QYs8wUqhMxWvzWvL2NvXLxZVvc6q8q60SP3l3WXzbB6fDJpJTK4on0Xvnc 6r5A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b=uG1RAziS; dkim=neutral (no key) header.i=@suse.cz header.b=6SHx2StO; 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 j38-20020a63fc26000000b005030a59a818si9086326pgi.402.2023.04.18.00.58.43; Tue, 18 Apr 2023 00:58:54 -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=@suse.cz header.s=susede2_rsa header.b=uG1RAziS; dkim=neutral (no key) header.i=@suse.cz header.b=6SHx2StO; 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 S229520AbjDRHwP (ORCPT + 99 others); Tue, 18 Apr 2023 03:52:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60918 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230467AbjDRHwO (ORCPT ); Tue, 18 Apr 2023 03:52:14 -0400 Received: from smtp-out2.suse.de (smtp-out2.suse.de [195.135.220.29]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 62A4D72A9; Tue, 18 Apr 2023 00:51:45 -0700 (PDT) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id A78F31F8D5; Tue, 18 Apr 2023 07:50:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1681804236; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=46e7WTGcHNks6sxTiebpVk6ExMfzEHXXE/aXkJusS5g=; b=uG1RAziSlvQ/AB6RQnxcNayvtDodqRrOp363Gas3XQAKfYeJPHa3904AfTgyYGI541gMah Oo0jHROGhui6HyXV9gYIf8RIPuSxbHVOhwE5XmOaKmnqwBTkLHM0b8dsHL4cKZgmMp8qzn c2Fpq7XO2GcRQuxTvj22KrhI3FzVSf4= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1681804236; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=46e7WTGcHNks6sxTiebpVk6ExMfzEHXXE/aXkJusS5g=; b=6SHx2StO+Tcg6qDit+z9WzPQX0muMG1mdmG4QkhvSHTYHiXGL6rliQuS4Mq9yrRmecHD8j 1L/LSMcbIoXjj0Dw== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id 7327E139CC; Tue, 18 Apr 2023 07:50:36 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id EG1rG8xLPmRGbgAAMHmgww (envelope-from ); Tue, 18 Apr 2023 07:50:36 +0000 Message-ID: <7dda08c3-4f51-7ab5-12af-3635302ffc63@suse.cz> Date: Tue, 18 Apr 2023 09:50:36 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.10.0 Subject: Re: [PATCH 0/5] Some tiny clean ups for SLUB Content-Language: en-US To: sxwjean@me.com, cl@linux.com, penberg@kernel.org, rientjes@google.com, iamjoonsoo.kim@lge.com, akpm@linux-foundation.org, 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 References: <20230413143452.211250-1-sxwjean@me.com> From: Vlastimil Babka In-Reply-To: <20230413143452.211250-1-sxwjean@me.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-7.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,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 On 4/13/23 16:34, sxwjean@me.com wrote: > From: Xiongwei Song > > Hi, > > Just clean ups, no any functionality changed. Thanks for your time. Thanks, added to slab.git for 6.5: https://git.kernel.org/pub/scm/linux/kernel/git/vbabka/slab.git/log/?h=slab/for-6.5/cleanup > 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(-) >