Received: by 2002:ab2:7903:0:b0:1fb:b500:807b with SMTP id a3csp186413lqj; Sat, 1 Jun 2024 13:58:52 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCW6f2zQ4IPqbEngx3xZ0twvW4pY5ZW6Np1v2bfWjcDiAOyWVlIrP0NPzQ8vTFoXilCtAP1OxoxPYzlA87eplrHmVLTgwmKStgSz76PKRw== X-Google-Smtp-Source: AGHT+IFKUhQrwq5UZ82x0WJ4MK4SpGa1Rrrgaz3NFu+qpIGsH99MUgfVYviZzhRRyq3EInn2Eh6R X-Received: by 2002:a05:6870:46a4:b0:24f:cd48:53fb with SMTP id 586e51a60fabf-2508b9efc94mr6833537fac.16.1717275531833; Sat, 01 Jun 2024 13:58:51 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717275531; cv=pass; d=google.com; s=arc-20160816; b=AgsfkEA2zXGGn66f9IObVNZCjTkMp8GcxhyYtM0KzXfj0KqZ1KqoAUdyvdp/oMQW/d NBoAZGWFDwh4/N7/e8antUyJrEZwBp4dIEk+D/RH1NXpCz8i2yu+fQgLg3hr/auEdjKm GmNLkg89ffQvLQ3/bI8gTVo4c98yW/qdc5B5DmCg64IXgCEc2anWNh5SSEgC/L8/r1oF rgtyYaWlgd0EgiGCYxq39Cpm+ckfYNPI+dC9nreP/Qb8DJWwVeyvywMMdDZXiWUNcT4x kp39UPQHFlvyhMZUv2kCv84DPOIFZ9Ud7e0zx/kWBR2L+SAMSbXvi7GsPzxyUxCa/1/C L9qQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id :dkim-signature:dkim-signature:dkim-signature:dkim-signature; bh=f08YTq5NqPwUS8/f2MmUhAERP5xzqBaHcJBchZ/cHuA=; fh=5q+GVhT0z+H2PR6zo2zCFxsH0eiu4MIkYRjYCt2WX/U=; b=m+/rq4uis0tz7f+9ByqDUu6FJ9mmqniFFRRV803x5c75ciWXc0tPOQEVE5t3mSu4sd gadiDdi4O89IGCCC98DQjj565TSLqHG4I4+4G8a5C5EWnMgVptcLd52pIOnyBbkQaNAy p8NupSuwqPTHPuOSdqedOtDlSZ4m7M5l+DylLhpiPXnTcoED/vTCqtj1OXOTPdNtB6X5 IAJR+M/7BohOJumoRzCjy+4fra3OPYW+8ceKfTNMOFlDT6gCt5Pk6sVYC6ZmqpirZhCe 7AtNdMBvE+fd0CuYENWtKbrFk8dWCYEku2za45I57oOnU654jJ3Jk0cYoiizyM4sgRB/ D4nA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b=N8Ka+e5Y; dkim=neutral (no key) header.i=@suse.cz header.s=susede2_ed25519; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b=N8Ka+e5Y; dkim=neutral (no key) header.i=@suse.cz header.s=susede2_ed25519; arc=pass (i=1 spf=pass spfdomain=suse.cz dkim=pass dkdomain=suse.cz dkim=pass dkdomain=suse.cz); spf=pass (google.com: domain of linux-kernel+bounces-198007-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-198007-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id af79cd13be357-794f32a7fdbsi499225785a.691.2024.06.01.13.58.51 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 01 Jun 2024 13:58:51 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-198007-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b=N8Ka+e5Y; dkim=neutral (no key) header.i=@suse.cz header.s=susede2_ed25519; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b=N8Ka+e5Y; dkim=neutral (no key) header.i=@suse.cz header.s=susede2_ed25519; arc=pass (i=1 spf=pass spfdomain=suse.cz dkim=pass dkdomain=suse.cz dkim=pass dkdomain=suse.cz); spf=pass (google.com: domain of linux-kernel+bounces-198007-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-198007-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 55E151C20C7D for ; Sat, 1 Jun 2024 20:58:51 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 62DAF154C0E; Sat, 1 Jun 2024 20:58:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=suse.cz header.i=@suse.cz header.b="N8Ka+e5Y"; dkim=permerror (0-bit key) header.d=suse.cz header.i=@suse.cz header.b="uAvjNoRZ"; dkim=pass (1024-bit key) header.d=suse.cz header.i=@suse.cz header.b="N8Ka+e5Y"; dkim=permerror (0-bit key) header.d=suse.cz header.i=@suse.cz header.b="uAvjNoRZ" Received: from smtp-out2.suse.de (smtp-out2.suse.de [195.135.223.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2B3DD1CAA6 for ; Sat, 1 Jun 2024 20:58:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=195.135.223.131 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717275523; cv=none; b=ay4cE7jdkHg6ZXM6erHtUw1IrjVrc6oT1AthyJESVPpEWK8iCLgkNBFmuczmOnE0ps+Dhtcftq2UMiB4khUVbb0Um0U4RdD+ogvegEqQQERKn3bAVFsYddykZ0fk8o5A59xPF5xm/BgeBGJApBtLPnGMfMpXLIqBsCwOTUniLUE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717275523; c=relaxed/simple; bh=4FPbBjBUQox0/PKqrpmC0Dluybt4CSCngtkOXrErOMQ=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=sHlKiSgy8SIVpjsS9lBA4pOeC3W4VZD342YjVzxpHfDzFTNi3QWfzTFz1MCm6lF0KnUqXjkqhIqgT/i3NNGDkYVO9COgDon5gpwjqapuYu2acBencdi2fcko5q22IJ+Ksm4lgDkK/A/Yq/VRfUKAcX9hPB7PP3pz7cVA6hIRoNk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=suse.cz; spf=pass smtp.mailfrom=suse.cz; dkim=pass (1024-bit key) header.d=suse.cz header.i=@suse.cz header.b=N8Ka+e5Y; dkim=permerror (0-bit key) header.d=suse.cz header.i=@suse.cz header.b=uAvjNoRZ; dkim=pass (1024-bit key) header.d=suse.cz header.i=@suse.cz header.b=N8Ka+e5Y; dkim=permerror (0-bit key) header.d=suse.cz header.i=@suse.cz header.b=uAvjNoRZ; arc=none smtp.client-ip=195.135.223.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=suse.cz Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=suse.cz Received: from imap1.dmz-prg2.suse.org (unknown [10.150.64.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id 498C31FEEA; Sat, 1 Jun 2024 20:58:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1717275519; 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:autocrypt:autocrypt; bh=f08YTq5NqPwUS8/f2MmUhAERP5xzqBaHcJBchZ/cHuA=; b=N8Ka+e5YnuuS9Ip6MRUPX+bWCR0D9dKqEhySmDxAQysYgDh6twyQAYCA9odXbQLaDeb+e0 PHz0RhQrlorkOQM9oE0Z3h1IEmQlI3pS62Xc6rcSlIRpHm086aeGs7V8P22yBicReZLqro inF3hcgD+XK9a/eggIAwuqtCarxzPsM= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1717275519; 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:autocrypt:autocrypt; bh=f08YTq5NqPwUS8/f2MmUhAERP5xzqBaHcJBchZ/cHuA=; b=uAvjNoRZxb3TK29bt+WhUn3WbACAEcxvCLCzvPu/sj3RFx3puEk2RDzMKsRPbe7A3C0K8H AyFL9/V8MDtfSvCQ== Authentication-Results: smtp-out2.suse.de; none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1717275519; 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:autocrypt:autocrypt; bh=f08YTq5NqPwUS8/f2MmUhAERP5xzqBaHcJBchZ/cHuA=; b=N8Ka+e5YnuuS9Ip6MRUPX+bWCR0D9dKqEhySmDxAQysYgDh6twyQAYCA9odXbQLaDeb+e0 PHz0RhQrlorkOQM9oE0Z3h1IEmQlI3pS62Xc6rcSlIRpHm086aeGs7V8P22yBicReZLqro inF3hcgD+XK9a/eggIAwuqtCarxzPsM= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1717275519; 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:autocrypt:autocrypt; bh=f08YTq5NqPwUS8/f2MmUhAERP5xzqBaHcJBchZ/cHuA=; b=uAvjNoRZxb3TK29bt+WhUn3WbACAEcxvCLCzvPu/sj3RFx3puEk2RDzMKsRPbe7A3C0K8H AyFL9/V8MDtfSvCQ== Received: from imap1.dmz-prg2.suse.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by imap1.dmz-prg2.suse.org (Postfix) with ESMTPS id 2CE70137C3; Sat, 1 Jun 2024 20:58:39 +0000 (UTC) Received: from dovecot-director2.suse.de ([2a07:de40:b281:106:10:150:64:167]) by imap1.dmz-prg2.suse.org with ESMTPSA id zumdCn+LW2YgUAAAD6G6ig (envelope-from ); Sat, 01 Jun 2024 20:58:39 +0000 Message-ID: <57c8c75d-c080-42e0-824e-a8cd84c33fb2@suse.cz> Date: Sat, 1 Jun 2024 22:58:38 +0200 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 1/1] mm: fix xyz_noprof functions calling profiled functions Content-Language: en-US To: Suren Baghdasaryan , akpm@linux-foundation.org Cc: kent.overstreet@linux.dev, pasha.tatashin@soleen.com, keescook@chromium.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org References: <20240531205350.3973009-1-surenb@google.com> From: Vlastimil Babka Autocrypt: addr=vbabka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g++veI6tXfpco/UiKEsDswL1WAr tEAZaruo7254TyH+gydURl2wJuzo/aZ7Y7PpqaODbYv727Dvm5eX64HCyyAH0s6sOCyGF5/p eIhrOn24oBf67KtdAN3H9JoFNUVTYJc1VJU3R1JtVdgwEdr+NEciEfYl0O19VpLE/PZxP4wX PWnhf5WjdoNI1Xec+RcJ5p/pSel0jnvBX8L2cmniYnmI883NhtGZsEWj++wyKiS4NranDFlA HdDM3b4lUth1pTtABKQ1YuTvehj7EfoWD3bv9kuGZGPrAeFNiHPdOT7DaXKeHpW9homgtBxj 8aX/UkSvEGJKUEbFL9cVa5tzyialGkSiZJNkWgeHe+jEcfRT6pJZOJidSCdzvJpbdJmm+eED w9XOLH1IIWh7RURU7G1iOfEfmImFeC3cbbS73LQEFGe1urxvIH5K/7vX+FkNcr9ujwWuPE9b 1C2o4i/yZPLXIVy387EjA6GZMqvQUFuSTs/GeBcv0NjIQi8867H3uLjz+mQy63fAitsDwLmR EP+ylKVEKb0Q2A== In-Reply-To: <20240531205350.3973009-1-surenb@google.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Level: X-Spamd-Result: default: False [-4.29 / 50.00]; BAYES_HAM(-3.00)[100.00%]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.20)[-1.000]; MIME_GOOD(-0.10)[text/plain]; XM_UA_NO_VERSION(0.01)[]; RCPT_COUNT_SEVEN(0.00)[7]; MIME_TRACE(0.00)[0:+]; ARC_NA(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_TLS_ALL(0.00)[]; DKIM_SIGNED(0.00)[suse.cz:s=susede2_rsa,suse.cz:s=susede2_ed25519]; FUZZY_BLOCKED(0.00)[rspamd.com]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; DBL_BLOCKED_OPENRESOLVER(0.00)[imap1.dmz-prg2.suse.org:helo,suse.cz:email] X-Spam-Score: -4.29 X-Spam-Flag: NO On 5/31/24 10:53 PM, Suren Baghdasaryan wrote: > Grepping /proc/allocinfo for "noprof" reveals several xyz_noprof functions, > which means internally they are calling profiled functions. This should > never happen as such calls move allocation charge from a higher level > location where it should be accounted for into these lower level helpers. > Fix this by replacing profiled function calls with noprof ones. > > Fixes: b951aaff5035 ("mm: enable page allocation tagging") > Fixes: e26d8769da6d ("mempool: hook up to memory allocation profiling") > Fixes: 88ae5fb755b0 ("mm: vmalloc: enable memory allocation profiling") > Signed-off-by: Suren Baghdasaryan > Cc: Kent Overstreet Acked-by: Vlastimil Babka > --- > mm/filemap.c | 2 +- > mm/mempool.c | 2 +- > mm/util.c | 10 +++++----- > 3 files changed, 7 insertions(+), 7 deletions(-) > > diff --git a/mm/filemap.c b/mm/filemap.c > index 9fe5c02ae92e..37061aafd191 100644 > --- a/mm/filemap.c > +++ b/mm/filemap.c > @@ -1000,7 +1000,7 @@ struct folio *filemap_alloc_folio_noprof(gfp_t gfp, unsigned int order) > do { > cpuset_mems_cookie = read_mems_allowed_begin(); > n = cpuset_mem_spread_node(); > - folio = __folio_alloc_node(gfp, order, n); > + folio = __folio_alloc_node_noprof(gfp, order, n); > } while (!folio && read_mems_allowed_retry(cpuset_mems_cookie)); > > return folio; > diff --git a/mm/mempool.c b/mm/mempool.c > index 6ece63a00acf..3223337135d0 100644 > --- a/mm/mempool.c > +++ b/mm/mempool.c > @@ -273,7 +273,7 @@ mempool_t *mempool_create_node_noprof(int min_nr, mempool_alloc_t *alloc_fn, > { > mempool_t *pool; > > - pool = kzalloc_node(sizeof(*pool), gfp_mask, node_id); > + pool = kmalloc_node_noprof(sizeof(*pool), gfp_mask | __GFP_ZERO, node_id); > if (!pool) > return NULL; > > diff --git a/mm/util.c b/mm/util.c > index c9e519e6811f..6c3e6710e4de 100644 > --- a/mm/util.c > +++ b/mm/util.c > @@ -705,7 +705,7 @@ void *kvrealloc_noprof(const void *p, size_t oldsize, size_t newsize, gfp_t flag > > if (oldsize >= newsize) > return (void *)p; > - newp = kvmalloc(newsize, flags); > + newp = kvmalloc_noprof(newsize, flags); > if (!newp) > return NULL; > memcpy(newp, p, oldsize); > @@ -726,7 +726,7 @@ void *__vmalloc_array_noprof(size_t n, size_t size, gfp_t flags) > > if (unlikely(check_mul_overflow(n, size, &bytes))) > return NULL; > - return __vmalloc(bytes, flags); > + return __vmalloc_noprof(bytes, flags); > } > EXPORT_SYMBOL(__vmalloc_array_noprof); > > @@ -737,7 +737,7 @@ EXPORT_SYMBOL(__vmalloc_array_noprof); > */ > void *vmalloc_array_noprof(size_t n, size_t size) > { > - return __vmalloc_array(n, size, GFP_KERNEL); > + return __vmalloc_array_noprof(n, size, GFP_KERNEL); > } > EXPORT_SYMBOL(vmalloc_array_noprof); > > @@ -749,7 +749,7 @@ EXPORT_SYMBOL(vmalloc_array_noprof); > */ > void *__vcalloc_noprof(size_t n, size_t size, gfp_t flags) > { > - return __vmalloc_array(n, size, flags | __GFP_ZERO); > + return __vmalloc_array_noprof(n, size, flags | __GFP_ZERO); > } > EXPORT_SYMBOL(__vcalloc_noprof); > > @@ -760,7 +760,7 @@ EXPORT_SYMBOL(__vcalloc_noprof); > */ > void *vcalloc_noprof(size_t n, size_t size) > { > - return __vmalloc_array(n, size, GFP_KERNEL | __GFP_ZERO); > + return __vmalloc_array_noprof(n, size, GFP_KERNEL | __GFP_ZERO); > } > EXPORT_SYMBOL(vcalloc_noprof); > > > base-commit: 8e06d6b9274dc504af6021a8bbc2daf6713ceb20