Received: by 2002:a05:6602:2086:0:0:0:0 with SMTP id a6csp3370436ioa; Tue, 26 Apr 2022 02:09:36 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzzF99+g9krLk9tx8FXQDEL7uMIywGWMG2+bAiKX+uArqd9YZ2fxl/R5IqMnBHWxBG29Tob X-Received: by 2002:aa7:cd7c:0:b0:425:e59d:7353 with SMTP id ca28-20020aa7cd7c000000b00425e59d7353mr10448336edb.365.1650964176243; Tue, 26 Apr 2022 02:09:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1650964176; cv=none; d=google.com; s=arc-20160816; b=zJtzmQFWICdUjcUAVWeA8QsVIsKMAGxOmJMlQH/irl2KqG8CBRZWN0fWRoYILFMOwA Tr40cmRO+w0iXilHgTHahBkH+FPkYCOn1gK+fkv8HgA/XYlMKistHkWXH841RT45qFas VH6CDxvWAPiysSKT8gFoTw/tjvsvIrqKDYx+38bQGqYr0o+5X557L7M9VNTo7T81ZRoP Gx4ECgh2DaWminiHQ2WjD3jFrp6NlYXlvesCOAEaXgvewCh2HBeNri2X7N3NVzApxgIe td0UzcHklBnAHWwNGRs4PwlRtJ/5k/+hwJllVQHAb1WWcnVJRv0GYs9igvAZ4CmQehiM Munw== 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=kBEJde7HmMjpZPIKQmjCCQNUxa3QYK/CoOSg2fUy1tk=; b=JzZd1OvtrvLjf4l+6mxdDGtzT8VoulmNsqzYOYPNPX5vGOAsw/E5V9W19g2byB32wd DdXhd0A6mhBeWO0cHsblZ98TEFQR0hWlIfmiUs6CXOHpyA8Iwbik16ml1iM9HUSyqYke dCy1a8DpHJLmgJdZd8+woG8u3kYMIx2XJXF0WuWqOBEmb0K9ES/xF0FWp0NEExM+KInV 11ZuCfVJ1dfkEaedN7TApQ+4Ynhcp34p1WtY3Ru8swDitBKhYNfgZXzuKLeTFbJhX6C6 bQY79klusdK7DNouC6i2RuQ6KFd/wZ0efbn9NVhRlayVXEUx1cp2IteyGwu3ynH/S7ZE 4e8A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b=XhhWM594; dkim=neutral (no key) header.i=@suse.cz header.s=susede2_ed25519; 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 g24-20020a056402321800b00425ef68cc5dsi3422925eda.615.2022.04.26.02.09.13; Tue, 26 Apr 2022 02:09:36 -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=XhhWM594; dkim=neutral (no key) header.i=@suse.cz header.s=susede2_ed25519; 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 S242716AbiDYPIV (ORCPT + 99 others); Mon, 25 Apr 2022 11:08:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41342 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235608AbiDYPIT (ORCPT ); Mon, 25 Apr 2022 11:08:19 -0400 Received: from smtp-out2.suse.de (smtp-out2.suse.de [195.135.220.29]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3FD151CB39 for ; Mon, 25 Apr 2022 08:05:15 -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-out2.suse.de (Postfix) with ESMTPS id C0ECA1F38C; Mon, 25 Apr 2022 15:05:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1650899113; 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=kBEJde7HmMjpZPIKQmjCCQNUxa3QYK/CoOSg2fUy1tk=; b=XhhWM594h95ari0tdbBii/P1aAk/1YlBol6QC3key4ppSAKgIUwKbnIM+b707W27+P8zbc rBFP8zed+7jLfotZqDnBRzCORb/GVusJrzEL2tgmcz/ZSfOHv9I8sBPyjDYyucv5bAui1h oMvv3tuZxPDIPGBrZ1AxRmqjXJQYJW0= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1650899113; 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=kBEJde7HmMjpZPIKQmjCCQNUxa3QYK/CoOSg2fUy1tk=; b=KW+mKznRaF0U4IZ11C6dpQPjko3ITyl0uWPORR7h7j4+DTLs5hBuAneC2QWG22X4FPwa8v k5i/TbHYHXvTcrBQ== 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 91BE313AED; Mon, 25 Apr 2022 15:05:13 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id tSHzIqm4ZmLRNwAAMHmgww (envelope-from ); Mon, 25 Apr 2022 15:05:13 +0000 Message-ID: <0cce13c3-7ba4-0dce-6cf2-0483cfda9d70@suse.cz> Date: Mon, 25 Apr 2022 17:05:13 +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 04/23] mm/slab_common: cleanup kmalloc_track_caller() 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-5-42.hyeyoo@gmail.com> From: Vlastimil Babka In-Reply-To: <20220414085727.643099-5-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 kmalloc_track_caller() wrapper of kmalloc_node_track_caller(). Looks like there's an immediate benefit of SLUB not throwing away the caller pointer anymore in case of kmalloc_large(). > Signed-off-by: Hyeonggon Yoo <42.hyeyoo@gmail.com> Reviewed-by: Vlastimil Babka