Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp977788pxb; Fri, 22 Apr 2022 15:47:45 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx+UnEYFeP6+y+pJrEQ8DLRmfQMeikfin5vubwq2RVVWArWXOyeFz498vjPU8RW65RQ13x8 X-Received: by 2002:a63:2305:0:b0:39d:1299:29c9 with SMTP id j5-20020a632305000000b0039d129929c9mr5786589pgj.244.1650667664961; Fri, 22 Apr 2022 15:47:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1650667664; cv=none; d=google.com; s=arc-20160816; b=eO/Q6Da37xMpvfp+sGgP9Zf3hV960HvK1HFpv9eIfOLphrxNLygXmu/XZq/7lNm2fY asIEKF6Cwedw8cnszBkH3tVF6AQdUQUxDhlFdVfW3hDi46eo0eQM7NNuf073Xo2YSbS2 rJLF/FvKZl8+8PQ1YZDAinmoDd/vp1dcmRqEW1iwP3XaAt2mGlANNNuE5myb+vJtaHuK LYrJeVmcnZk5cWw9YnxzskXMzSv8wNO5FOnY7M49/G/VWhEr7KsPIiVb1c+e+MvEGPbN xx8NmNK/9iiQT8b6J0vI1YbjNrYaZnOw1HRR66w3wJgR4z92lG1kHbTJ5RXEvM8UShHO rd8A== 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:subject :from:references:cc:to:content-language:user-agent:mime-version:date :message-id:dkim-signature:dkim-signature; bh=mHW/pHSPnbRhdz5yOFZ7k6wyXBnvzDlsG5CtnSS+1pM=; b=yRcszXaVB4NI/dIaza97eXJf3JYtBfUHb9HkP/oVdsaRUOlkUZfglWJ9fShmU/sedT 4o7kUk4kxJ4RmIGf9f+3oND/v+XQn7N0IavNOPeqH5Gn1y1U8IHCFMVXHdftkfGNlHfz vQkt+685VszAWBEZ+NVgTe4BR+ThroZWEFM1zweKyQtP8AyJrblffIRtt1CO1lu58ju9 cPvXrG+e9rCnxESCJHVQdBkaYpVY/WzatuGeZf/WjJaZ9aZmCgB+sJyOPnWemcUHUyNe ybIoZxycCQj6y+Sm6BDAgZJ99z4ihg2PNyyeqBpqSK6ykH1J9HupEalCgh//QCswLZj4 oZGg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b=qUqMojrD; dkim=neutral (no key) header.i=@suse.cz header.s=susede2_ed25519 header.b=GM3NsS3o; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id cj10-20020a056a00298a00b0050c92d897fbsi4421697pfb.340.2022.04.22.15.47.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Apr 2022 15:47:44 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b=qUqMojrD; dkim=neutral (no key) header.i=@suse.cz header.s=susede2_ed25519 header.b=GM3NsS3o; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 2B7F03F69C7; Fri, 22 Apr 2022 13:36:29 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238123AbiDVSIu (ORCPT + 99 others); Fri, 22 Apr 2022 14:08:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32820 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237495AbiDVSHE (ORCPT ); Fri, 22 Apr 2022 14:07:04 -0400 Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.220.28]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C8190B1888 for ; Fri, 22 Apr 2022 11:04:09 -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-out1.suse.de (Postfix) with ESMTPS id 340BD210F3; Fri, 22 Apr 2022 18:04:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1650650648; 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=mHW/pHSPnbRhdz5yOFZ7k6wyXBnvzDlsG5CtnSS+1pM=; b=qUqMojrDzazi/M54STHed1Ajh9LMWf0lLUZjIZeNqVfXi3PwG/aDY46dbFiyArCN+rOIQD cXtvayif+GbEUO+3ToPe7YD1krnacOHsWsOym+UTjW2Meca7UEkw6Mu8ILI9va/USFgoMW MEPRY35Nut+6s0Parb6rF6fsldQAZb4= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1650650648; 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=mHW/pHSPnbRhdz5yOFZ7k6wyXBnvzDlsG5CtnSS+1pM=; b=GM3NsS3ooBnl8gBdah0NXacAOU6Ip2Zz6m9JGTaMcvkONF2iNw1egZRuIepMp4hT5LWoUD xtoKcN+a5NkY0CCA== 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 04510131BD; Fri, 22 Apr 2022 18:04:08 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id ykBRABjuYmLZUgAAMHmgww (envelope-from ); Fri, 22 Apr 2022 18:04:08 +0000 Message-ID: <6a80eb5d-852d-92af-8715-1efac20e315f@suse.cz> Date: Fri, 22 Apr 2022 20:04:07 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.7.0 Content-Language: en-US To: Hyeonggon Yoo <42.hyeyoo@gmail.com> Cc: Marco Elver , Matthew WilCox , Christoph Lameter , Pekka Enberg , David Rientjes , Joonsoo Kim , Andrew Morton , Roman Gushchin , linux-mm@kvack.org, linux-kernel@vger.kernel.org References: <20220414085727.643099-1-42.hyeyoo@gmail.com> <20220414085727.643099-2-42.hyeyoo@gmail.com> From: Vlastimil Babka Subject: Re: [PATCH v2 01/23] mm/slab: move NUMA-related code to __do_cache_alloc() In-Reply-To: <20220414085727.643099-2-42.hyeyoo@gmail.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-3.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,NICE_REPLY_A,RDNS_NONE,SPF_HELO_NONE autolearn=unavailable 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/14/22 10:57, Hyeonggon Yoo wrote: > To implement slab_alloc_node() independent of NUMA configuration, > move NUMA fallback/alternate allocation code into __do_cache_alloc(). > > One functional change here is not to check availability of node > when allocating from local node. > > Signed-off-by: Hyeonggon Yoo <42.hyeyoo@gmail.com> Reviewed-by: Vlastimil Babka Thanks.