Received: by 2002:a05:6a10:5594:0:0:0:0 with SMTP id ee20csp582354pxb; Mon, 25 Apr 2022 17:14:21 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzIYmEZRpPAvih/HpsURHVwsm5SWUPMxVE2pPohRiPXaS2X8JIFpgFe3bGdcT6JVgzBdFUK X-Received: by 2002:a05:6402:1a34:b0:425:ca01:58ec with SMTP id be20-20020a0564021a3400b00425ca0158ecmr16303218edb.373.1650932061431; Mon, 25 Apr 2022 17:14:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1650932061; cv=none; d=google.com; s=arc-20160816; b=bZT30XH/snRqgsx1O2WkdDw5jhPu2IWv2Oa4OetlJ+ubyHVavL7ruqi0SZ4dF3FbJ4 Jbsp0kgcLx5G5p/s8EzqdGbnqupIOef3s/nNZicXkHrg+42OH0ppLND1Z64oc+y3vvYB n+2BCb2cwz4xeCiKco5n0/fcmpGBDbobqbvIs8oG0XuPJdomWu5eOZU6WAeafMGlH3Yv mM4bCljcuCN+gfOujVC7dhuK4lnSbeuEWJ/A/2bzezbrmznfn5qQLnA05BvXzUeUj74y IYNr6CNLwY1Twh53LehlX0ts4tSGIY/+H444O7xkTCPH2H4RAqAY31qWODzZqxEbY5dl Nmew== 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=EJObyA2VvNCOQ5pxhWXbi6DYpHUNpOCiaXo5mxpKTBY=; b=LgjEBom1BkwTyT1eIWDXIGwvX1BymoMX3C7HzTZs+0+T2XPFfLVZxG4xcRe0zNIHhy A/HRoBQRW8aab3v+AnKdHypGHytleIK0b0FL7xN+6etalMpQPwI4Iee6jpMSrTRsazUv BbB9F1nLlPY3q9d6DxdGte8IL6v7NgO8GE4Qy2VHUcBVnYYCu5wKMnYJqLcQ3v2fm6vA c1cg3V/i+YMWvPx6wQIksN6aFTsAHy9SfwXU/RfDiqXhWuv0BcvEEwjVvwGtZlIpNT+G dQiplLYSnPNrBwHtIanOGyWCiCEyl8rJzDNxJ7zz799lTJl9/OXqLWVAhLrFpzmLG09z UYEg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b=IiJbfz7F; dkim=neutral (no key) header.i=@suse.cz; 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 fi26-20020a170906da1a00b006e8ad6e1ac5si4173805ejb.961.2022.04.25.17.13.58; Mon, 25 Apr 2022 17:14:21 -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=IiJbfz7F; dkim=neutral (no key) header.i=@suse.cz; 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 S242360AbiDYOIk (ORCPT + 99 others); Mon, 25 Apr 2022 10:08:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37366 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242346AbiDYOIe (ORCPT ); Mon, 25 Apr 2022 10:08:34 -0400 Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.220.28]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 93CE728E for ; Mon, 25 Apr 2022 07:05:30 -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 8E1F721107; Mon, 25 Apr 2022 14:05:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1650895528; 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=EJObyA2VvNCOQ5pxhWXbi6DYpHUNpOCiaXo5mxpKTBY=; b=IiJbfz7FvTppiqEKbcNJnc+hdw/96k+xJnL1lbZHtiqD8d4xt7rEEbTMV8Pgh6G4B9cnEl YVVPmCiqjPf98nuoo8LtHkfDf6uXswd88bPtt8XeOrSZa+Sp5SbxkZik9qpfRh4/vhaIq8 3RpuUUxiGlw9eu6XRrtf/aCbBATOeiU= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1650895528; 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=EJObyA2VvNCOQ5pxhWXbi6DYpHUNpOCiaXo5mxpKTBY=; b=BMLozMliSyP605RXXjF71b8mw8N/15hTcG984/geD52UO9nx3u579qZV143iVShntNDoyo +SX17djlShzB7kAw== 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 61E0B13AE1; Mon, 25 Apr 2022 14:05:28 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id xpo+F6iqZmKyGwAAMHmgww (envelope-from ); Mon, 25 Apr 2022 14:05:28 +0000 Message-ID: <8da16456-83d4-39b6-aea0-ea1dd451538b@suse.cz> Date: Mon, 25 Apr 2022 16:05:28 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.7.0 Subject: Re: [PATCH v2 02/23] mm/slab: cleanup slab_alloc() and slab_alloc_node() 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-3-42.hyeyoo@gmail.com> From: Vlastimil Babka In-Reply-To: <20220414085727.643099-3-42.hyeyoo@gmail.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-6.3 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 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/14/22 10:57, Hyeonggon Yoo wrote: > Make slab_alloc_node() available even when CONFIG_NUMA=n and > make slab_alloc() wrapper of slab_alloc_node(). > > This is necessary for further cleanup. It also removes a lot of nearly-duplicite code. > Signed-off-by: Hyeonggon Yoo <42.hyeyoo@gmail.com> Reviewed-by: Vlastimil Babka