Received: by 2002:a19:771d:0:0:0:0:0 with SMTP id s29csp1272244lfc; Wed, 1 Jun 2022 13:47:40 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy7kvJkm/zSOSqmv4h4rqRszhVGwNvEibIB/BVx1m7BZjsBF3IHKk32QVnb4ETay6PqsoeM X-Received: by 2002:a17:90a:3fcc:b0:1df:3389:93c6 with SMTP id u12-20020a17090a3fcc00b001df338993c6mr35823018pjm.154.1654116460266; Wed, 01 Jun 2022 13:47:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654116460; cv=none; d=google.com; s=arc-20160816; b=e68Rpbxzhb0MbZt/QAtau328fWgmxIa/lTk4NoIRzq1qOX2EEH+ehYKDUYx79Z0gQD sb1JeuOUedI2nhQCmFQJ/hthPHNeLjyGTAAZzpHlWG7CwAqVbaqYWmiG1E0wywPjV0dV KplbCkK4y6zIngo30OZe1fKwRxcqpLDijQtuwyT6uHZBFAhpQBQ9oMu1BeGWo1dDc/2K kQk0We2GTsE5dOjVaE4ByQua/jcwBaoyDky4v0YUvJKoEsbBP3mYGVWAVdVasNap3UUz 8v5edvI+WB6zBAjZsW9GGtLMyg5rMJt9FsHyg4WF4Z3MguUXqqQIMTcIWXpxq3Whj04q YDJg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=WIykAolW8oD8LFPh4Udn9DG3dxOjaYMmjkMXBAWVxpo=; b=l3wqplGvLrl2Jp0sE4P/0yCyL6yXQ5JWmFiaBVe1LGcwh30/EnHFVHapP/15eKC/WR ujSCkwD8oIZHki/6Qsl/YRBb/cxZ0NzTTXpRVlsus9+N1v1oKsP1KzDmSwMuMBfEc41u s7LD6VUeq30SgRX/5lGnFUVuX7wgEvWz/73JGecmLRo9kfq2m7V/f8GRgSGC/LziNAvO Ygepzavoe71CZT7b9su3v+GJr/gMgNRyBtIAyNP3ctMANaqrYlyCYwH62LLJPfLzSmgn wwVgp7aa1GnrTMpfSO81hMurbQB0ByoN0PuxBW8O2PiGuwzuR7un0E9yWY5Q7TomedZs 4YfQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bytedance-com.20210112.gappssmtp.com header.s=20210112 header.b=CVvHshPm; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=bytedance.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id i185-20020a6387c2000000b003fa387b330esi3343165pge.692.2022.06.01.13.47.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 Jun 2022 13:47:40 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@bytedance-com.20210112.gappssmtp.com header.s=20210112 header.b=CVvHshPm; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=bytedance.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 8511720042D; Wed, 1 Jun 2022 12:51:48 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243616AbiEaCl2 (ORCPT + 99 others); Mon, 30 May 2022 22:41:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47206 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237072AbiEaCl1 (ORCPT ); Mon, 30 May 2022 22:41:27 -0400 Received: from mail-pj1-x102a.google.com (mail-pj1-x102a.google.com [IPv6:2607:f8b0:4864:20::102a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E9AC36470E for ; Mon, 30 May 2022 19:41:26 -0700 (PDT) Received: by mail-pj1-x102a.google.com with SMTP id u12-20020a17090a1d4c00b001df78c7c209so1084488pju.1 for ; Mon, 30 May 2022 19:41:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bytedance-com.20210112.gappssmtp.com; s=20210112; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=WIykAolW8oD8LFPh4Udn9DG3dxOjaYMmjkMXBAWVxpo=; b=CVvHshPmWe5jCs0Mr68BDf13AhiQ8GO1RiUsqz9ayy5G3PLHWwFT6IVjix8wcfVer0 Sr9uJ6gHPENKEjoYvdndsdMqjXN7xLl2X6LBKbXVBKy9Eo81FCqTxCj20I8tEbz5OiQ9 mHQEXfEXwCE+8oE69xMvQI+P4rjZIj9HnOYz/dl5FfacUWhjCfJ9FJDjlWQwpa5vuEaN E17cHocwf2mruriEmThiB9TnOC3368ZoswnYDkhPRnNUbuYPS7s8/0KajLK5DmYuLtjI GRtOsmafbjLyeaeH50XZGHpp5wPxbIzXuMyfUajM0D1TNm0S/o8JIGj16kRu8Wkp6g1p ITpw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=WIykAolW8oD8LFPh4Udn9DG3dxOjaYMmjkMXBAWVxpo=; b=lv4e8FVR1YA8OkYfav5SejSaB7RYLwSEEsWRFybxtPVNfrZeKH5b5nXeVMYgnS6LTp Nzu+wEZw0VaTcV0S3aA+7+82Tpln/CMS6ANwFb5F/NxOg9yF3+ILffz0I+QxEZxynAoD GsVTP0TgONSkHjZKwzKvPn5SvMSiaeavE4Wx2Y5xQ+olnrFOT86Dzq4tqUbH2KUx30SY NNYDwAlND1v/77oicBhjxqOXP2bFoc5UVZwZOqXTAOdKE/18Z2+WHlO33ySx6ZlaBv3x dcetbuwJtkmmmFgRO3PbXdGck03V6WtC9ao8ezTN03w5coeA4cWvrHUrSw6qaoO9BThX bxiQ== X-Gm-Message-State: AOAM533PfjWelkusSKbUyLT1zCUg+UhIvLfUYRWhpt8zSMsKKY8PN3/q NZ13RxV4EFOIgc4oWNj7NK4puQ== X-Received: by 2002:a17:903:2443:b0:162:223c:c0e9 with SMTP id l3-20020a170903244300b00162223cc0e9mr40921952pls.68.1653964886485; Mon, 30 May 2022 19:41:26 -0700 (PDT) Received: from localhost ([2408:8207:18da:2310:7163:3a36:783f:6d4a]) by smtp.gmail.com with ESMTPSA id e7-20020a170903240700b0015e8d4eb2d3sm9872570plo.285.2022.05.30.19.41.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 May 2022 19:41:25 -0700 (PDT) Date: Tue, 31 May 2022 10:41:22 +0800 From: Muchun Song To: sxwjean@me.com Cc: 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, linux-mm@kvack.org, linux-kernel@vger.kernel.org, Xiongwei Song Subject: Re: [PATCH] mm/slub: Simplify __kmem_cache_alias() Message-ID: References: <20220531005550.10613-1-sxwjean@me.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220531005550.10613-1-sxwjean@me.com> X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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, May 31, 2022 at 08:55:50AM +0800, sxwjean@me.com wrote: > From: Xiongwei Song > > There is no need to do anything if sysfs_slab_alias() return nonzero > value after getting a mergeable cache. > > Signed-off-by: Xiongwei Song Reviewed-by: Muchun Song Thanks.