Received: by 2002:a05:6512:3d0e:0:0:0:0 with SMTP id d14csp645335lfv; Tue, 12 Apr 2022 00:49:47 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyAhPgjyQiQrV/o2l1qAPbMVlKMEImnO1kaTs5+see5yOa1X7MmUpoGuHBZNrKt8Rs3DEYi X-Received: by 2002:a17:903:1c9:b0:156:9d86:a772 with SMTP id e9-20020a17090301c900b001569d86a772mr36191202plh.98.1649749787204; Tue, 12 Apr 2022 00:49:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649749787; cv=none; d=google.com; s=arc-20160816; b=VfO8ZmeXkijOGaA3UoRXo3NoHfS4ZUO6uqfTxivL0Sye4+cJB4s5ESCi/QaOJj7R57 lFt1kIV1bQJc8EqpxZ3unARs/khfOcG8Vbv9F4yVLss5ILrzVVFiRVO1D8T3oyKoGYzl UIWblDYDfbAqrqBYVvgJvspQRXNye+dSqIAKEBPYq2K/p0Xh5FrTfugzCLw7iy2DdhQ/ R/tpLIYrpSNlOz2uj4fBohcjFCZC5gj3Q9PNeC6PxEgoYZH6K4COpWgWyGkARX7N6Y/i tH6YwvHWpOHE1/6Sb4/0LCyY92as2OQCcQfoDgvC73bZgBTS8asjQjEK5JYldBq32/iF zy2Q== 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=3zaQImLi0FzFBRmnFmLjG6HOawbZnSP9X2yOV3cxE4U=; b=HlJSUCATtN61KRjtFdfOQpkmU9jzTveW/nSK0YDpX0UKiz0e1H5CK/PSgI/ZNl/iZn GANeZXR7CxF7lo/jcxanutyhvcVm8JAnLhjxhBtn8ubdoTGM/RR9zijClhzdvvwmQEJa 3VLS8UgGQAnfsPjS0CAiIlPlEBEfIc/Oz/bGw8Yo7AfpAfo6pGhhsUBw0kMMLavcuiay VbdZy2+3xztpPqqoCl3kEMeh/9BhjjPzQjBzki9eqGSYF2ehYAjm+Anzvy6sdEiSxrAz /mMV3nU+SqEmQga2uCjT1IUprJpMHVyWCVnRymzyUwfE7oSFYq3kyEQDU5ShCEO4wyzM fViA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bytedance-com.20210112.gappssmtp.com header.s=20210112 header.b=p0wYNrWX; 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=fail (p=NONE sp=NONE dis=NONE) header.from=bytedance.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id t8-20020a656088000000b0039836edce84si1898794pgu.163.2022.04.12.00.49.34; Tue, 12 Apr 2022 00:49:47 -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=@bytedance-com.20210112.gappssmtp.com header.s=20210112 header.b=p0wYNrWX; 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=fail (p=NONE sp=NONE dis=NONE) header.from=bytedance.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242485AbiDKDxH (ORCPT + 99 others); Sun, 10 Apr 2022 23:53:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46686 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235432AbiDKDxF (ORCPT ); Sun, 10 Apr 2022 23:53:05 -0400 Received: from mail-yw1-x1132.google.com (mail-yw1-x1132.google.com [IPv6:2607:f8b0:4864:20::1132]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3A1D537A26 for ; Sun, 10 Apr 2022 20:50:52 -0700 (PDT) Received: by mail-yw1-x1132.google.com with SMTP id 00721157ae682-2db2add4516so151816007b3.1 for ; Sun, 10 Apr 2022 20:50:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bytedance-com.20210112.gappssmtp.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=3zaQImLi0FzFBRmnFmLjG6HOawbZnSP9X2yOV3cxE4U=; b=p0wYNrWXbajDvZhjMlVAkw/+L8hLevOGmZtPSYERL7Iy5/5Rm6lIL5TzW2HVTTocg1 Ov2DlGOZ3EofzM1oTCaPip+4Fo92sPsVTrhKfjyDwWUw8SxtkbDJNudCpCiplMt/1yhF 2iHSVUiRIJJv+PO8Mzt173Nhyk7tQDGc8ByCpN0jEKdOcOBArU9HhbEM5iyApL5nmOel q3UrEU/5LTuWETFAwZteyJ8AY3j+XvMYrG9rBnUU2K0gO3otI5JYTxUTeAI2MED76wAe qoh0rkZEobOKqNlUEYVtTzxJvxdwcHU+D+nBL5/T+PdqV+Rhhn7e9q5/FZy8yHEnCJGr 8grQ== 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=3zaQImLi0FzFBRmnFmLjG6HOawbZnSP9X2yOV3cxE4U=; b=7ClYfRsbnVayYop9hfXQYDyJ0hdY2alf7hUsuxR+KuAKRJd+TGFX1klm7ufhzTinrs NUjlqXxpNsDpVMZIL/B7OPrAr3qmbwa9RuxNr31IFhPaUSlj8WqqjSaSCuhFQx6BY/yI FGagi27/QV5c+G+qE7R3f08FlRDcaweBbhi9J5vIz196xJ2CIYRHYYiBgrUQGRTV2Qc3 +7qWxceojqwZCgKqmaIgv9PIs0nkS3YYM1yL0uuwDSsHL4Xq28GKDby5FAL14DtMv+lk eChmlVpcTq1jn9WN8D7N3aYntbqkOTLX/RPVedP0/YuvBsaNdPKJQ05K4oU1iiKqMiJr rRIA== X-Gm-Message-State: AOAM531pjZvI9lv6S4kQLeVGsFwkHWDAMJyiZLH8epQRk6yPyFw6QCLt MCdBVRuAP5nf9mnAj+M59p+uSIVElM/6SPPw+ki5BQ== X-Received: by 2002:a81:1c1:0:b0:2eb:7369:dd09 with SMTP id 184-20020a8101c1000000b002eb7369dd09mr25754598ywb.35.1649649051525; Sun, 10 Apr 2022 20:50:51 -0700 (PDT) MIME-Version: 1.0 References: <20220409144239.2649257-1-jsyoo5b@gmail.com> In-Reply-To: <20220409144239.2649257-1-jsyoo5b@gmail.com> From: Muchun Song Date: Mon, 11 Apr 2022 11:50:14 +0800 Message-ID: Subject: Re: [PATCH] mm/slub: remove meaningless node check in ___slab_alloc() To: JaeSang Yoo Cc: Christoph Lameter , Pekka Enberg , David Rientjes , Joonsoo Kim , Andrew Morton , Vlastimil Babka , Roman Gushchin , Ohhoon Kwon , Wonhyuk Yang , Jiyoup Kim , Donghyeok Kim , JaeSang Yoo , Linux Memory Management List , LKML Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,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 Sat, Apr 9, 2022 at 10:43 PM JaeSang Yoo wrote: > > node_match() with node=NUMA_NO_NODE always returns 1. > Duplicate check by goto statement is meaningless. Remove it. > > Signed-off-by: JaeSang Yoo LGTM. Reviewed-by: Muchun Song