Received: by 2002:a05:6500:1b45:b0:1f5:f2ab:c469 with SMTP id cz5csp186793lqb; Tue, 16 Apr 2024 12:27:55 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUX8PhMq0za3GY6ZwIEI+UbJXw907momrUUt00yTTYoj4TfBwBTheQusig/MHO3T6JSaP6JqdPeWzQ8GY8poNyZi8hX0hZJKVwuGQg8mw== X-Google-Smtp-Source: AGHT+IFd4xOa6RVD/4sm+TCSxYSdn8SPjks+VZx1PPDdgBhmJ4iOe/UCJDhYCnUwOA4Fc5b/N0h7 X-Received: by 2002:a05:6a00:cd3:b0:6ed:2f52:9acd with SMTP id b19-20020a056a000cd300b006ed2f529acdmr17210460pfv.24.1713295675413; Tue, 16 Apr 2024 12:27:55 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713295675; cv=pass; d=google.com; s=arc-20160816; b=JFitqEAyuWpX1G4/rwXpVSe3whG3yn+fxBrhtL5jA/IP1rkrQMXDZOvbTbudEdnbom CXmTZsrNOE+yqE7zypEG26d2Fcv+5LEkqORGxpLlcv7p8WxowumhN73SdboRLT3ZGppV S6+9VIJyb5/v5yVtPNOfdiOo/C/l7aAXvTXnF3qLxRR7+qB7vZqmRBEQb1p+ACiVmxth 6CcCly2ibwlpu4tesQ0mYOMvtPsQuuQPGYOotdhInO5dn6GpoM9KqcvZlZaZ6tuaRqUW I4ynYjeLUJPGafkyEO9gSgK4LQ6FuYf6/tEGpypd0ZChuTN4x/nl++487CL1F750NNK2 d/7Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:from:subject:message-id:references:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:in-reply-to:date :dkim-signature; bh=KsLs5TwgQbCoTsIhV0PbmPPMuBa5UPbtwmIm4dUFoNk=; fh=62DqqkJbxICybYTzHCaP24XZXhSjvxqTZqqYhifnQVk=; b=hOwIo+bdxR9wCH/NFn/HyjO8LZnW6Ee3R+d8ATw1nPKDj5Vd6Zu2OK/P4vRaQrOpiw bnJWVKCfrfTR7n1Uv4tu0/e5PdvQCn6IUYdryZVvDL+HLt8Vfq/bL/fEfeHJcjF+9Kwb GWADLnH8+IqCpsRPd1Yc268zuCeVY6sCe0V3TTdnRZSyE/qftgJ5uE3OUGJeqBBQO7E5 7tzu2bMz4bLCwMWQFML65yR/IkFTZ9kG1RH/TfAi8RIyxiSBb0NhMzhtPIbmjg5UMoAa rqak5c+hPeFmeQO/hVcOPRgc0tOKHHOE49gCdMLiAxekZrlTK3uzLXqnHCc7QOf1IX+o fiPg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=SvbRZFBB; arc=pass (i=1 spf=pass spfdomain=flex--souravpanda.bounces.google.com dkim=pass dkdomain=google.com dmarc=pass fromdomain=google.com); spf=pass (google.com: domain of linux-kernel+bounces-147473-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-147473-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id fa19-20020a056a002d1300b006e6a5a72271si10398693pfb.403.2024.04.16.12.27.55 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 16 Apr 2024 12:27:55 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-147473-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=SvbRZFBB; arc=pass (i=1 spf=pass spfdomain=flex--souravpanda.bounces.google.com dkim=pass dkdomain=google.com dmarc=pass fromdomain=google.com); spf=pass (google.com: domain of linux-kernel+bounces-147473-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-147473-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com 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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 1CF13282DA0 for ; Tue, 16 Apr 2024 19:27:55 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 51DF41384A9; Tue, 16 Apr 2024 19:27:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="SvbRZFBB" Received: from mail-pj1-f73.google.com (mail-pj1-f73.google.com [209.85.216.73]) (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 56ACF137C25 for ; Tue, 16 Apr 2024 19:27:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.216.73 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713295662; cv=none; b=ZkazKf6TNw7jihUyZ75h8mqD+srfAu4KDgx44mWLMG6xvxUHQzpdJofjM+HR5beu0nziNx2lnBktb/OoDnePsgRT9a1iKoSbxQlVdlua8cXBW8CffQ3Bs9+kjNBF88JVNOShEp7dEqiUaYJ1WkNB44aNyt8IKD3mDRrNBYeZTJU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713295662; c=relaxed/simple; bh=RufGQt9my60Mib6mWU1jcDTJNb1IE0wkA2B8tPsK8us=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=Wt+WHb8iZLfof4EODLb0zmfTumjTRAvREyuGbyrYsxegePws+YMRElTUXwtxum8rJIIbmMb13yspPGNdTLqTWA/wln0KG3d+a3ddmfwlw4AbtVCwgSpv6c7sChvR7N4EF0v+/MAecT6RkwfqKx22hJpGcUSz/iiT+5A3fGp8xkg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com; spf=pass smtp.mailfrom=flex--souravpanda.bounces.google.com; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b=SvbRZFBB; arc=none smtp.client-ip=209.85.216.73 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=flex--souravpanda.bounces.google.com Received: by mail-pj1-f73.google.com with SMTP id 98e67ed59e1d1-2a5066ddd4cso4447950a91.0 for ; Tue, 16 Apr 2024 12:27:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1713295661; x=1713900461; darn=vger.kernel.org; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:from:to:cc:subject:date:message-id:reply-to; bh=KsLs5TwgQbCoTsIhV0PbmPPMuBa5UPbtwmIm4dUFoNk=; b=SvbRZFBBHdUyF2JQkr/B1Xk727bFBqVoePFp28FftSdwLHsmTsBPvmoGGhR1n3NEyy qr0B3vDvwaaFDBjQ7mfjhH3+k9l0CH2F3pa/LkVW58A8QyG+KbkW7DYd44TFzQxWDOo1 BJ7Sfiri0/E4F1olSET/nK9PODdBc3YWbB57IDkTuRFeGhGYX+eZ4zE/jRaHzv5xx/oe waoRf1Sp9UO3Oh7rxqePykg1YPdypiRpee4K4+GoY+140Q5TKG5uhd6ktn9uZh95RWLZ GF48QYwJOuJf9PVQGw4klPVIhTQa7Xvm/u2pT/SSdF0tfKAp3DA1WSXtJilKHDUi7jJx 7hIw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713295661; x=1713900461; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=KsLs5TwgQbCoTsIhV0PbmPPMuBa5UPbtwmIm4dUFoNk=; b=fBTkjRNNR6tpjwL/EdP7YGWXTg9IiLBojYd1KqdddC46SAEAD6J8tbSLHKmsbAN8jp k6EoU/H4swN9lLH8MPtqHmKVs7lbYINLKmEdTmeo4k3yotm92hsn56nYj9/Z8OwbY+zS k33iK6VePJyuDhs6qIsmXwWIGWQFD93XVg5UO9+cTPKHMipyFvoUOCWglTZYzbYK6yqb 0+FPs4VXypSFelUZygd2OHywsZTZZny9VHLtosu4NCBCWm6mVFE+Nf5YQP3RolbNTLYd AAt4LrQO9IP6oGhEhi91gasyR5p+JJtTJC4zkKPaa8rWwIN8hZXhesBZPPzABFu71dds rnkQ== X-Forwarded-Encrypted: i=1; AJvYcCX7kMnzrQrv4h3hk95vfXDcuxCVRHaahvbO69qYo+kNdeCPsUycw+lm2rqmtX+Gkqg1OTOHQJmrCOUP/Konf+e1XI87EvmbfTV0ec8u X-Gm-Message-State: AOJu0YwpexmeZBj4XjGfxmo4ihgW4hHUZ+He0qAi66+IcMLibUMo2f3q 9mpDrXb1biDQl95TDpTGK2BUwcUc9HLgpKuAWw0z52XOWpxN8H+wsO6MaGZmtwj7/ttwCFiP7Yv FW70ot54JnNl2nE0kpyXuQw== X-Received: from souravbig.c.googlers.com ([fda3:e722:ac3:cc00:7f:e700:c0a8:3b3a]) (user=souravpanda job=sendgmr) by 2002:a17:90b:3bc8:b0:2a2:8b25:745e with SMTP id ph8-20020a17090b3bc800b002a28b25745emr87242pjb.0.1713295660670; Tue, 16 Apr 2024 12:27:40 -0700 (PDT) Date: Tue, 16 Apr 2024 19:27:38 +0000 In-Reply-To: <20240321163705.3067592-31-surenb@google.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 References: <20240321163705.3067592-31-surenb@google.com> X-Mailer: git-send-email 2.44.0.683.g7961c838ac-goog Message-ID: <20240416192738.3429967-1-souravpanda@google.com> Subject: Re: [PATCH v6 30/37] mm: vmalloc: Enable memory allocation profiling From: Sourav Panda To: surenb@google.com Cc: 42.hyeyoo@gmail.com, akpm@linux-foundation.org, aliceryhl@google.com, andreyknvl@gmail.com, arnd@arndb.de, axboe@kernel.dk, bristot@redhat.com, bsegall@google.com, catalin.marinas@arm.com, cgroups@vger.kernel.org, cl@linux.com, corbet@lwn.net, dave.hansen@linux.intel.com, dave@stgolabs.net, david@redhat.com, dennis@kernel.org, dhowells@redhat.com, dietmar.eggemann@arm.com, dvyukov@google.com, ebiggers@google.com, elver@google.com, glider@google.com, gregkh@linuxfoundation.org, hannes@cmpxchg.org, hughd@google.com, iamjoonsoo.kim@lge.com, iommu@lists.linux.dev, jbaron@akamai.com, jhubbard@nvidia.com, juri.lelli@redhat.com, kaleshsingh@google.com, kasan-dev@googlegroups.com, keescook@chromium.org, kent.overstreet@linux.dev, kernel-team@android.com, liam.howlett@oracle.com, linux-arch@vger.kernel.org, linux-doc@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org, linux-modules@vger.kernel.org, masahiroy@kernel.org, mcgrof@kernel.org, mgorman@suse.de, mhocko@suse.com, minchan@google.com, mingo@redhat.com, muchun.song@linux.dev, nathan@kernel.org, ndesaulniers@google.com, pasha.tatashin@soleen.com, paulmck@kernel.org, penberg@kernel.org, penguin-kernel@i-love.sakura.ne.jp, peterx@redhat.com, peterz@infradead.org, rientjes@google.com, roman.gushchin@linux.dev, rostedt@goodmis.org, rppt@kernel.org, songmuchun@bytedance.com, tglx@linutronix.de, tj@kernel.org, vbabka@suse.cz, vincent.guittot@linaro.org, void@manifault.com, vschneid@redhat.com, vvvvvv@google.com, will@kernel.org, willy@infradead.org, x86@kernel.org, yosryahmed@google.com, ytcoode@gmail.com, yuzhao@google.com, souravpanda@google.com Content-Type: text/plain; charset="UTF-8" > -void *__vcalloc(size_t n, size_t size, gfp_t flags) > +void *__vcalloc_noprof(size_t n, size_t size, gfp_t flags) > { > return __vmalloc_array(n, size, flags | __GFP_ZERO); > } > -EXPORT_SYMBOL(__vcalloc); > +EXPORT_SYMBOL(__vcalloc_noprof); __vmalloc_array should instead be __vmalloc_array_noprof. This is because we would want the more specific tag present in /proc/allocinfo