Received: by 2002:a05:6602:18e:0:0:0:0 with SMTP id m14csp5500391ioo; Wed, 1 Jun 2022 06:54:24 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxivZumieIa/14Ren7UtEMchWr8sRG3MnQ6Fjwc79xWhRU+4bZKff+NtgohHqwuaJn8bFcw X-Received: by 2002:aa7:c990:0:b0:42d:e15f:e65a with SMTP id c16-20020aa7c990000000b0042de15fe65amr10153608edt.221.1654091664692; Wed, 01 Jun 2022 06:54:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654091664; cv=none; d=google.com; s=arc-20160816; b=fTLTzzRRdyO7N+p8g5D1CX+N0blx92fz0rmzHpKjcklWVP+5O3EkavURFLbIIBBRvQ IUttGwUZzXkTJJLdBTl5cVmb19X8D/IInbMv1FHp8NvEXQhgewJDmHQY34xmf93oOqmh uRaAo8DrAHVSTVPBH8JVLrd1fFY0poD2mcPWLZE01man8ZTyGsB5Y0+3Jln6+BcesRjN XM6fU/tEBmzkThzIL+wRKN0OwKoNG6t6HszlePdNVBem+f1wLadNYEgPKifNpAAjKA5Z 2Ll63so6RN8RL9PAnL3igbN5lKWDJcnqvZk9H26xTYc7WI0yR4cUXpOZkRTl2QeLbYTy 6XaQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=5W6O9FWsbTN7+7W8a3vXrmWggK7UX3QsHoPetn89ePY=; b=Bw4kE8al6Q2oQDTeGnc4TJbgEz36no5bYi0dG+Zlsa9wS/pX9CrFXigEHeNIggzBkQ o/Vauia1LBK1iy+Gqbdlh9e/QoxWoQcLX20wk5U4L5rYRgM6A5Y/xZdEnDcK/sOQ44qU cYe/L3euhRdn4Lc1m9zgy+4UPTdM6sxaOk1eC9Gf1D3SzYAM3Sxcn1k9jkiz+rQtJdG1 1Agh3vamnQrKNkbe8Ad0pWzpp7Z9OcyLSZqFVDVx5L/jiVadGG+4pdG9ia45PaftPK62 6/WudBHuhIXin38f639v48oAEWFhGCp9MIEsiBvvF/jfnq2kIdarnBPNa1dGEOcjoF/P y3Aw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=UcqY+fQB; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ht15-20020a170907608f00b006ff142129b4si1786967ejc.665.2022.06.01.06.53.59; Wed, 01 Jun 2022 06:54:24 -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=@gmail.com header.s=20210112 header.b=UcqY+fQB; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S245315AbiEaLXZ (ORCPT + 99 others); Tue, 31 May 2022 07:23:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51932 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238797AbiEaLXX (ORCPT ); Tue, 31 May 2022 07:23:23 -0400 Received: from mail-pj1-x1036.google.com (mail-pj1-x1036.google.com [IPv6:2607:f8b0:4864:20::1036]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 56E085C76E for ; Tue, 31 May 2022 04:23:22 -0700 (PDT) Received: by mail-pj1-x1036.google.com with SMTP id w2-20020a17090ac98200b001e0519fe5a8so1958866pjt.4 for ; Tue, 31 May 2022 04:23:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=5W6O9FWsbTN7+7W8a3vXrmWggK7UX3QsHoPetn89ePY=; b=UcqY+fQBeYDgL8+NnzvHltLd1oqfTFAOEaNtQKIgNgfzWGq6A9keuggJzqi6aAoq88 ECGIMdsQU0hkZbn5jCiog2qtGXphdHShDOuDQF9t4TafZ2XaxD0RAQ829UqwV6jYGXra pigsvKvip2kINO6ABzvmJBqm9Q2xQN/M6CQT3Q5unfdtB/RgEa+H1pvYMznb2WFNYFAA L2wvernYagIFZKBQwbrPrOU5hz3DUnJynA9OtSCrcIv32yLZCrgB/rl0cee3cQ0CyL6K Uw9mwpUtqvuClv+dkWiKpcDv+wUodsqnCUYFZK/4vkPuFZW3Acz2D5Y37lNLiGdV9nWF 8cqQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=5W6O9FWsbTN7+7W8a3vXrmWggK7UX3QsHoPetn89ePY=; b=xYORh8uML92HHh0RcuVSq3ftwMHLJHD5V/Q1wsOZ+gM3I5ZxMKo99ne1ZyAmzOjvbl fLvUj4UjTOLSNIysqy1J55mBFOBSSOZojUd94Hh+5Y8cyo/CI1tu5awf5GIck/jIVcV0 XfGePZW0WGGXGI9D8ZZmRaXPTo8+r8M2oV5NhJDWoS7NCNL7Dkbij0nooz4xtRhqPkJI 6c+tFa5EXruqHdgacQBEPVOjrKdQq+kpPOtDe+E4RoK5hEDLA1f73kCTzhKnNN/dLc6g F/emo3HAm598pHjJlMzeL8Y952H9BCNvOml+M89XE+FA3VauSN0sLHYoaKr+z7HDeyEc BGdQ== X-Gm-Message-State: AOAM532CmZvry9rFsiS1fWygVOZUMGdNUuOIkc+Ox5HNQjefVA653t60 +n6upoLmWNmTq83qcj10QfiV1ar5U31e2RqYXTw= X-Received: by 2002:a17:903:124a:b0:154:c7a4:9375 with SMTP id u10-20020a170903124a00b00154c7a49375mr60406082plh.0.1653996201684; Tue, 31 May 2022 04:23:21 -0700 (PDT) MIME-Version: 1.0 References: <20220531005550.10613-1-sxwjean@me.com> In-Reply-To: From: Xiongwei Song Date: Tue, 31 May 2022 19:22:55 +0800 Message-ID: Subject: Re: [PATCH] mm/slub: Simplify __kmem_cache_alias() To: Muchun Song Cc: Xiongwei Song , Christoph Lameter , Pekka Enberg , David Rientjes , Joonsoo Kim , Andrew Morton , Vlastimil Babka , Roman Gushchin , Hyeonggon Yoo <42.hyeyoo@gmail.com>, "linux-mm @ kvack . org" , Linux Kernel Mailing List , Xiongwei Song Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,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, May 31, 2022 at 10:41 AM Muchun Song wrote: > > 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 Muchun. > > Thanks. >