Received: by 2002:a05:6602:2086:0:0:0:0 with SMTP id a6csp4426552ioa; Wed, 27 Apr 2022 03:43:41 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyHJIiiSx10Xayh66UNMaY2cZmuVUb0KOByWK0ZiDeAylaNqsT7r1yoy7N/p/qeVA/pQ+FE X-Received: by 2002:a17:90b:688:b0:1d9:9ddd:1f71 with SMTP id m8-20020a17090b068800b001d99ddd1f71mr12268280pjz.207.1651056221327; Wed, 27 Apr 2022 03:43:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651056221; cv=none; d=google.com; s=arc-20160816; b=tNbkU89eH8XASD/PG07pJBwKpgk7vwX+JoiamerSgJysluJoEUhqI7uk8K73qgdN5d xUXtnb3DqAmBAu+zh4mWjlX/5FUYh6r5jbE3/KQXAywEV1umivSP87Wg04AgPgeDuTiy naybBnBA9GGPHuLygwl0UJCLH8XN3us+J2plIk62fNkO19tOVyGG44KNQ4BQODuSPUqR BX7+9OatVLCBLxLRu8PIKncF8qqlnerpUAQ9eu720OrSVg9JyLT8ZKFfqWSWeHDyYm95 1Z+XeAS+UePp1rZw+8B3JUUzgH0HW+5ZLuU85b8eXiS/ZFvSrvesTdXe2+J7LYYttB/l NtXg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:date:cc:to:from:subject :message-id; bh=JV6Q3S03DN3bWHQ2fHpTFng9ZCTPtwlhfBqNHk5alSc=; b=OUR42IEur4Fs8GVsT1S3Q4+TbKVS4uM+9AQnlYb6aEuyYgvIDR0ZvlIPLNzaIieF6g UJvzuK+WTx76b/PFktRiwGdRbJNY97sd7S5vHan4uiElrZDet5+GgmrOPPHdAPLbTPzw ykmc9saw8tYL52H7pxyZjPrWNbJ1jvfaHsvMHodFSJw+zkTRTmg4i7G+yfgWb0S97Jnv fRKZXo232Hhchp57oGIyZx0OwsS8PFd0CxHGPHISwiX0uyvMFa7NVW129DDNxWe+m0oH /WDG/nKRsBXe7AgD3M3JBqM5edcQYBGM2yQL/mwPFTKeuxWgY3h0y5/G3//nE+ZmaFl9 basw== ARC-Authentication-Results: i=1; mx.google.com; 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 i9-20020a170902c94900b00158faef79dbsi1499841pla.79.2022.04.27.03.43.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Apr 2022 03:43:41 -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; 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 9FEE33D9B0A; Wed, 27 Apr 2022 02:52:53 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1349752AbiDZSDt (ORCPT + 99 others); Tue, 26 Apr 2022 14:03:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49344 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244546AbiDZSDr (ORCPT ); Tue, 26 Apr 2022 14:03:47 -0400 Received: from relay4.hostedemail.com (relay4.hostedemail.com [64.99.140.35]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4656026552 for ; Tue, 26 Apr 2022 11:00:37 -0700 (PDT) Received: from omf03.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay01.hostedemail.com (Postfix) with ESMTP id 249BE60AFA; Tue, 26 Apr 2022 18:00:35 +0000 (UTC) Received: from [HIDDEN] (Authenticated sender: joe@perches.com) by omf03.hostedemail.com (Postfix) with ESMTPA id DB2FA6000F; Tue, 26 Apr 2022 18:00:32 +0000 (UTC) Message-ID: <50118b134e9495c5264adf62d998a5c5386d6a55.camel@perches.com> Subject: Re: [PATCH v2 12/23] mm/slab_common: cleanup kmalloc() From: Joe Perches To: Hyeonggon Yoo <42.hyeyoo@gmail.com>, Vlastimil Babka 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 Date: Tue, 26 Apr 2022 11:00:32 -0700 In-Reply-To: <20220414085727.643099-13-42.hyeyoo@gmail.com> References: <20220414085727.643099-1-42.hyeyoo@gmail.com> <20220414085727.643099-13-42.hyeyoo@gmail.com> Content-Type: text/plain; charset="ISO-8859-1" User-Agent: Evolution 3.40.4-1ubuntu2 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,UNPARSEABLE_RELAY autolearn=no autolearn_force=no version=3.4.6 X-Rspamd-Server: rspamout07 X-Rspamd-Queue-Id: DB2FA6000F X-Stat-Signature: cf4r9sdd5b5j1xkkp5d1nzqwjwgf31e1 X-Session-Marker: 6A6F6540706572636865732E636F6D X-Session-ID: U2FsdGVkX19ebwwq/r1Pfl2wa/MbbHYseeP3/CgLwxo= X-HE-Tag: 1650996032-486982 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 Thu, 2022-04-14 at 17:57 +0900, Hyeonggon Yoo wrote: > Now that kmalloc() and kmalloc_node() do same job, make kmalloc() > wrapper of kmalloc_node(). Why make every kmalloc larger object code size ? What is the overall object size change in a typical defconfig ?