From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id CABC3C54E58 for ; Thu, 21 Mar 2024 22:48:01 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 6AE046B0092; Thu, 21 Mar 2024 18:48:01 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 65E186B0095; Thu, 21 Mar 2024 18:48:01 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 4B17E6B0096; Thu, 21 Mar 2024 18:48:01 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0012.hostedemail.com [216.40.44.12]) by kanga.kvack.org (Postfix) with ESMTP id 390766B0092 for ; Thu, 21 Mar 2024 18:48:01 -0400 (EDT) Received: from smtpin18.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay01.hostedemail.com (Postfix) with ESMTP id 13B251C190D for ; Thu, 21 Mar 2024 22:48:01 +0000 (UTC) X-FDA: 81922535562.18.F9704C0 Received: from mail-yb1-f178.google.com (mail-yb1-f178.google.com [209.85.219.178]) by imf08.hostedemail.com (Postfix) with ESMTP id 45929160002 for ; Thu, 21 Mar 2024 22:47:59 +0000 (UTC) Authentication-Results: imf08.hostedemail.com; dkim=pass header.d=google.com header.s=20230601 header.b="AdMy4o/i"; spf=pass (imf08.hostedemail.com: domain of surenb@google.com designates 209.85.219.178 as permitted sender) smtp.mailfrom=surenb@google.com; dmarc=pass (policy=reject) header.from=google.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1711061279; h=from:from:sender:reply-to:subject:subject: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:dkim-signature; bh=pZUn+CabKddPK7NEf/S7R2Utterh/ASXmWz24mderPg=; b=Gv+qs0FKCG5hPQvHe0CC1u6tR9jcFn6b2RJGB9JCGsUVkOpwmu1wlV6t1zd589KiiaCgG7 jxs3iwZZDAOewN8c32N7D2UT4kDztPFhrOA+PnGIpI5e3Uf6LQi9aqnNhgw7xq8kobWW/s rPrcnCvdxnhA99aercFJktuUXWHNptM= ARC-Authentication-Results: i=1; imf08.hostedemail.com; dkim=pass header.d=google.com header.s=20230601 header.b="AdMy4o/i"; spf=pass (imf08.hostedemail.com: domain of surenb@google.com designates 209.85.219.178 as permitted sender) smtp.mailfrom=surenb@google.com; dmarc=pass (policy=reject) header.from=google.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1711061279; a=rsa-sha256; cv=none; b=xetc1TT4mVYn9PhRS8rPsVZHlAVEHvKvzZYkkNV4FEBFz4GWRVqwP0F8ETrT6N4TPlaHBI 30h5FL56vDaOx2fpaxDfOB5jcdfXXw2+jFz8lSu5rHi8ombn/y5LGRx5mUxbQxi3T/NCm7 MICM95c6txKWy0ddxoSpQBPsxxderLc= Received: by mail-yb1-f178.google.com with SMTP id 3f1490d57ef6-dcc4de7d901so1331634276.0 for ; Thu, 21 Mar 2024 15:47:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1711061278; x=1711666078; darn=kvack.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=pZUn+CabKddPK7NEf/S7R2Utterh/ASXmWz24mderPg=; b=AdMy4o/iIQWvXTPn+N8gZt9geL3pHl0FuXUv9giihyh8if77UDTG6GDrW8/4hYip6G t3qy2StYL8koWGCs1Key9NWpI3lAycy5nlzG9QvNnmF5YRoXyEl3OexeKHTXZsWDNbPX mY6QPFr8S7KNdBgPJo7AUxJcC0P8AI/GYVvsCqV4NoqO3q+MppYZVj6jZzNdRog9Fpvf nQ8JSNdcrlK1dhCfA7syrSonsg7g8Qb5pP2VCcA0dAPquisDn7vBFnnL8+YpOdsH1nVz gscde6styGgGTy4obMLgKC7QaPqbFRSCJ3/6ZOOiPEPERUwfm80hM2GMcE1rWbrb+/y2 X1zA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711061278; x=1711666078; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=pZUn+CabKddPK7NEf/S7R2Utterh/ASXmWz24mderPg=; b=rDisUSGC7SI2pi9s9JmoyFznwXQ7SbDbQt4NmoOX6qlVPyyRYSrFnvcKseO9y3cch/ +5d+zEPqKuw7qXDlzXGXQ5hhXlDyBPGUZfK6qr8ES6auyR5xEIOB/Rte1iZRFQqc0wFx 1EIJoQW/vEjVvHsgc3N4wlPTHZyzXaxL+h5tyHX/K8Rx1fnPFZTI1aziadHxte04SKYM IwcHCblBbPAqj6iEU50nzaVErqNiptHzhhjxy9uDQ1ILCVxO2H4QYY19L7sSFKVq8Ln7 wiwi26F+2z8G4u21RzDfI9TirWFJchFTQ1J+0LII1mGCxD/ZmILaVvb2hmUx2fuRBBKq 2kjQ== X-Forwarded-Encrypted: i=1; AJvYcCWyP6LuFuyd2EnqyCp4CGuh9qg8T8K2gdD4+m80vA25t/BCIzFe9P/SfhDrwaYxD5ooVFhZtQhkm+0qAUO2EXsH3KQ= X-Gm-Message-State: AOJu0YwvtTFdB2SSw3Th37cU5VcmMyEFBR7zfN1EZVDdmA3+q9uM9dzG w4zoxMv+e0ciGGPbkDiDp5QhF0QHOudErXQph334/YuhXUQ6nu0GaEzvqIUhMb+7T2hnT/j4QB6 PnKqqyYh9x8VdybHxmK2OlDW2hBp77btXsG0T X-Google-Smtp-Source: AGHT+IGTw1XuAorKpNX3Gh3/aZ4ugL4PM6jVqN6SCRojDxfSlrpu19ifc/cFi9jRyUBtPtqG+w5x/ZJTfS8KJ2Dmf6E= X-Received: by 2002:a25:8047:0:b0:dda:aace:9665 with SMTP id a7-20020a258047000000b00ddaaace9665mr551844ybn.60.1711061278005; Thu, 21 Mar 2024 15:47:58 -0700 (PDT) MIME-Version: 1.0 References: <20240321163705.3067592-1-surenb@google.com> <20240321163705.3067592-6-surenb@google.com> <20240321133147.6d05af5744f9d4da88234fb4@linux-foundation.org> <20240321150908.48283ba55a6c786dee273ec3@linux-foundation.org> In-Reply-To: From: Suren Baghdasaryan Date: Thu, 21 Mar 2024 15:47:44 -0700 Message-ID: Subject: Re: [PATCH v6 05/37] fs: Convert alloc_inode_sb() to a macro To: Kent Overstreet Cc: Andrew Morton , mhocko@suse.com, vbabka@suse.cz, hannes@cmpxchg.org, roman.gushchin@linux.dev, mgorman@suse.de, dave@stgolabs.net, willy@infradead.org, liam.howlett@oracle.com, penguin-kernel@i-love.sakura.ne.jp, corbet@lwn.net, void@manifault.com, peterz@infradead.org, juri.lelli@redhat.com, catalin.marinas@arm.com, will@kernel.org, arnd@arndb.de, tglx@linutronix.de, mingo@redhat.com, dave.hansen@linux.intel.com, x86@kernel.org, peterx@redhat.com, david@redhat.com, axboe@kernel.dk, mcgrof@kernel.org, masahiroy@kernel.org, nathan@kernel.org, dennis@kernel.org, jhubbard@nvidia.com, tj@kernel.org, muchun.song@linux.dev, rppt@kernel.org, paulmck@kernel.org, pasha.tatashin@soleen.com, yosryahmed@google.com, yuzhao@google.com, dhowells@redhat.com, hughd@google.com, andreyknvl@gmail.com, keescook@chromium.org, ndesaulniers@google.com, vvvvvv@google.com, gregkh@linuxfoundation.org, ebiggers@google.com, ytcoode@gmail.com, vincent.guittot@linaro.org, dietmar.eggemann@arm.com, rostedt@goodmis.org, bsegall@google.com, bristot@redhat.com, vschneid@redhat.com, cl@linux.com, penberg@kernel.org, iamjoonsoo.kim@lge.com, 42.hyeyoo@gmail.com, glider@google.com, elver@google.com, dvyukov@google.com, songmuchun@bytedance.com, jbaron@akamai.com, aliceryhl@google.com, rientjes@google.com, minchan@google.com, kaleshsingh@google.com, kernel-team@android.com, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, iommu@lists.linux.dev, linux-arch@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-mm@kvack.org, linux-modules@vger.kernel.org, kasan-dev@googlegroups.com, cgroups@vger.kernel.org, Alexander Viro Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 45929160002 X-Rspam-User: X-Stat-Signature: 9sz9euye7t1gpqukn1i1q1ts8xqruaw1 X-Rspamd-Server: rspam01 X-HE-Tag: 1711061279-119185 X-HE-Meta: U2FsdGVkX19WUhVdwn7oaBPs1rWdmnGrk8HPsyGePV5eval0Uc2VfUVy8iNYDFwATmrTVLY7xkT3ja/k9jflDBeIEwCdn7HAxyFBdcWkXLRQ4yEDupezOMYrPVK/xSxknWgJ3g8P+EQEmIcaLchqeaedDP/Kf1oGF2fK4xfveWwlr6eiRxO5VEPKuT0qYd4KH1eG2Plfk6ISvQ6Ik1oYoGc/oLclSeLvuAQbwSIt0YwPyzpduSH24vCsUu3TvgH+oJGkn2wVJgdgRk3+zaguaNoFM5OR80JPT9U+PF0J+xWFGEkQDlHXloDRvA0+CXFPyBw6obdEHbeEV4Jo8zcULsMVGG/pXl7qQvlKz08vJsnU7zSJJBDsliQsUh3nzB17DYAIEblhTbPAbsyNTvafR82FlYudH33lYLrkzo0yFuI46M0tur/VYpBBIHHLOovoPeEbyqO5nnNUW8d0UKmfD8B7pVCj9f17tQeB5grbRx9nhP1+WDoMPRHQjcw1UoR7VRP9Xc06KVtPLXy11x0A/DyktM5y+ju5TRhHubziYDk7Z9IgzaaY4P4N9qIllfIBkZOJuMEod9G2chD2JUwTfjPgavktBGQGMGTGqhd03OIbZfVvEVOSARG8X9VMpRCW3uYPry8meQ0PW7H2BdT/eLCwqzkmzF2H7NOk4938jCQhXZsd2wzv3sj35V1ROJEcj5AF+xC35kk8BSASBdvB9YkJ80tVMBWXAGoNqM5V050wI4wBDvTQXcVLpUktUWcGqSMTgL0OIqf23lJtNu9fTwUV1FxSLvdDHzRVd8gH3u4U8pMH/uzXDFocts4RPRUfQRakSbo93Zg0GHKkDEuhFa030K44LYHzQN34WB8r/NhoE2WfjjAZhOaASGtNIWo6ucHmpWgkWab8aTsFVPdjXqAwThi04GCz9UZJGlhRwTREq+lmpEnPe7Ld+6T4FS87/QBf4if+mmxfJE/8hB1 oIO86OrB gnJD4kqfJmohYVXpOF3NjHXilyA0rwfR3ZU31cmutboxECY1MA6QLCwEkNXxv1ngQzd1jMipBPiHXPgONDYzyiZLfbX56R5E4aAvZ33s6C9FeZzqrif/EgyI3QT8FnxTkv216SV9owBTSjFpIoQE7qNc1UsrTAaXwAyLnv5+u8fr0Zl/ehS/mBK5vyQXq/oDe/YydDpinkESSFB3rx5r3Tp/d0XOtTAcCktvzc6wCBhOM705UR6RCLpzDm9OxwXYPUgBPKFuWxqk7HmEbbyO5pcvVdoNbZN4JfWi4mVAaX1P2dluARPic86kmEx5kR+oKmLxO9NpK1Z+vNszEcDmwofkZFvX5YJPSKAR1F+RbxVMVERTgPtcLLi69Bw== X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: List-Subscribe: List-Unsubscribe: On Thu, Mar 21, 2024 at 3:17=E2=80=AFPM Kent Overstreet wrote: > > On Thu, Mar 21, 2024 at 03:09:08PM -0700, Andrew Morton wrote: > > On Thu, 21 Mar 2024 17:15:39 -0400 Kent Overstreet wrote: > > > > > On Thu, Mar 21, 2024 at 01:31:47PM -0700, Andrew Morton wrote: > > > > On Thu, 21 Mar 2024 09:36:27 -0700 Suren Baghdasaryan wrote: > > > > > > > > > From: Kent Overstreet > > > > > > > > > > We're introducing alloc tagging, which tracks memory allocations = by > > > > > callsite. Converting alloc_inode_sb() to a macro means allocation= s will > > > > > be tracked by its caller, which is a bit more useful. > > > > > > > > I'd have thought that there would be many similar > > > > inlines-which-allocate-memory. Such as, I dunno, jbd2_alloc_inode(= ). > > > > Do we have to go converting things to macros as people report > > > > misleading or less useful results, or is there some more general > > > > solution to this? > > > > > > No, this is just what we have to do. > > > > Well, this is something we strike in other contexts - kallsyms gives us > > an inlined function and it's rarely what we wanted. > > > > I think kallsyms has all the data which is needed to fix this - how > > hard can it be to figure out that a particular function address lies > > within an outer function? I haven't looked... > > This is different, though - even if a function is inlined in multiple > places there's only going to be one instance of a static var defined > within that function. I guess one simple way to detect the majority of these helpers would be to filter all entries from /proc/allocinfo which originate from header files. ~# grep ".*\.h:." /proc/allocinfo 933888 228 include/linux/mm.h:2863 func:pagetable_alloc 848 53 include/linux/mm_types.h:1175 func:mm_alloc_cid 0 0 include/linux/bpfptr.h:70 func:kvmemdup_bpfptr 0 0 include/linux/bpf.h:2237 func:bpf_map_kmalloc_node 0 0 include/linux/bpf.h:2256 func:bpf_map_alloc_percpu 0 0 include/linux/bpf.h:2256 func:bpf_map_alloc_percpu 0 0 include/linux/bpf.h:2237 func:bpf_map_kmalloc_node 0 0 include/linux/bpf.h:2249 func:bpf_map_kvcalloc 0 0 include/linux/bpf.h:2243 func:bpf_map_kzalloc 0 0 include/linux/bpf.h:2237 func:bpf_map_kmalloc_node 0 0 include/linux/ptr_ring.h:471 func:__ptr_ring_init_queue_alloc 0 0 include/linux/bpf.h:2256 func:bpf_map_alloc_percpu 0 0 include/linux/bpf.h:2237 func:bpf_map_kmalloc_node 0 0 include/net/tcx.h:80 func:tcx_entry_create 0 0 arch/x86/include/asm/pgalloc.h:156 func:p4d_alloc_one 487424 119 include/linux/mm.h:2863 func:pagetable_alloc 0 0 include/linux/mm.h:2863 func:pagetable_alloc 832 13 include/linux/jbd2.h:1607 func:jbd2_alloc_inode 0 0 include/linux/jbd2.h:1591 func:jbd2_alloc_handle 0 0 fs/nfs/iostat.h:51 func:nfs_alloc_iostats 0 0 include/net/netlabel.h:281 func:netlbl_secattr_cache_= alloc 0 0 include/net/netlabel.h:381 func:netlbl_secattr_alloc 0 0 include/crypto/internal/acompress.h:76 func:__acomp_request_alloc 8064 84 include/acpi/platform/aclinuxex.h:57 func:acpi_os_allocate_zeroed 0 0 include/acpi/platform/aclinuxex.h:57 func:acpi_os_allocate_zeroed 0 0 include/acpi/platform/aclinuxex.h:57 func:acpi_os_allocate_zeroed 0 0 include/acpi/platform/aclinuxex.h:57 func:acpi_os_allocate_zeroed 0 0 include/acpi/platform/aclinuxex.h:57 func:acpi_os_allocate_zeroed 1016 74 include/acpi/platform/aclinuxex.h:57 func:acpi_os_allocate_zeroed 384 4 include/acpi/platform/aclinuxex.h:57 func:acpi_os_allocate_zeroed 0 0 include/acpi/platform/aclinuxex.h:57 func:acpi_os_allocate_zeroed 0 0 include/acpi/platform/aclinuxex.h:57 func:acpi_os_allocate_zeroed 704 3 include/acpi/platform/aclinuxex.h:57 func:acpi_os_allocate_zeroed 32 1 include/acpi/platform/aclinuxex.h:57 func:acpi_os_allocate_zeroed 64 1 include/acpi/platform/aclinuxex.h:52 func:acpi_os_all= ocate 0 0 include/acpi/platform/aclinuxex.h:57 func:acpi_os_allocate_zeroed 40 2 include/acpi/platform/aclinuxex.h:57 func:acpi_os_allocate_zeroed 0 0 include/acpi/platform/aclinuxex.h:57 func:acpi_os_allocate_zeroed 0 0 include/acpi/platform/aclinuxex.h:52 func:acpi_os_all= ocate 0 0 include/acpi/platform/aclinuxex.h:57 func:acpi_os_allocate_zeroed 0 0 include/acpi/platform/aclinuxex.h:52 func:acpi_os_all= ocate 0 0 include/acpi/platform/aclinuxex.h:57 func:acpi_os_allocate_zeroed 0 0 include/acpi/platform/aclinuxex.h:52 func:acpi_os_all= ocate 0 0 include/acpi/platform/aclinuxex.h:57 func:acpi_os_allocate_zeroed 0 0 include/acpi/platform/aclinuxex.h:52 func:acpi_os_all= ocate 32 1 include/acpi/platform/aclinuxex.h:57 func:acpi_os_allocate_zeroed 0 0 include/acpi/platform/aclinuxex.h:57 func:acpi_os_allocate_zeroed 0 0 include/acpi/platform/aclinuxex.h:52 func:acpi_os_all= ocate 0 0 include/acpi/platform/aclinuxex.h:57 func:acpi_os_allocate_zeroed 0 0 include/acpi/platform/aclinuxex.h:52 func:acpi_os_all= ocate 30000 625 include/acpi/platform/aclinuxex.h:67 func:acpi_os_acquire_object 0 0 include/acpi/platform/aclinuxex.h:57 func:acpi_os_allocate_zeroed 0 0 include/acpi/platform/aclinuxex.h:57 func:acpi_os_allocate_zeroed 0 0 include/acpi/platform/aclinuxex.h:57 func:acpi_os_allocate_zeroed 0 0 include/acpi/platform/aclinuxex.h:57 func:acpi_os_allocate_zeroed 0 0 include/acpi/platform/aclinuxex.h:57 func:acpi_os_allocate_zeroed 0 0 include/acpi/platform/aclinuxex.h:57 func:acpi_os_allocate_zeroed 0 0 include/acpi/platform/aclinuxex.h:52 func:acpi_os_all= ocate 0 0 include/acpi/platform/aclinuxex.h:67 func:acpi_os_acquire_object 0 0 include/acpi/platform/aclinuxex.h:57 func:acpi_os_allocate_zeroed 0 0 include/acpi/platform/aclinuxex.h:57 func:acpi_os_allocate_zeroed 512 1 include/acpi/platform/aclinuxex.h:57 func:acpi_os_allocate_zeroed 0 0 include/acpi/platform/aclinuxex.h:52 func:acpi_os_all= ocate 192 6 include/acpi/platform/aclinuxex.h:52 func:acpi_os_all= ocate 0 0 include/acpi/platform/aclinuxex.h:52 func:acpi_os_all= ocate 0 0 include/acpi/platform/aclinuxex.h:57 func:acpi_os_allocate_zeroed 0 0 include/acpi/platform/aclinuxex.h:52 func:acpi_os_all= ocate 0 0 include/acpi/platform/aclinuxex.h:57 func:acpi_os_allocate_zeroed 0 0 include/acpi/platform/aclinuxex.h:57 func:acpi_os_allocate_zeroed 192 3 include/acpi/platform/aclinuxex.h:52 func:acpi_os_all= ocate 61992 861 include/acpi/platform/aclinuxex.h:67 func:acpi_os_acquire_object 0 0 include/acpi/platform/aclinuxex.h:57 func:acpi_os_allocate_zeroed 0 0 include/acpi/platform/aclinuxex.h:57 func:acpi_os_allocate_zeroed 0 0 include/acpi/platform/aclinuxex.h:67 func:acpi_os_acquire_object 0 0 include/acpi/platform/aclinuxex.h:57 func:acpi_os_allocate_zeroed 0 0 drivers/iommu/amd/amd_iommu.h:141 func:alloc_pgtable_= page 0 0 drivers/iommu/amd/amd_iommu.h:141 func:alloc_pgtable_= page 0 0 drivers/iommu/amd/amd_iommu.h:141 func:alloc_pgtable_= page 0 0 include/linux/dma-fence-chain.h:91 func:dma_fence_chain_alloc 0 0 include/linux/dma-fence-chain.h:91 func:dma_fence_chain_alloc 0 0 include/linux/dma-fence-chain.h:91 func:dma_fence_chain_alloc 0 0 include/linux/dma-fence-chain.h:91 func:dma_fence_chain_alloc 0 0 include/linux/dma-fence-chain.h:91 func:dma_fence_chain_alloc 0 0 include/linux/hid_bpf.h:154 func:call_hid_bpf_rdesc_f= ixup 0 0 include/linux/skbuff.h:3392 func:__dev_alloc_pages 114688 56 include/linux/ptr_ring.h:471 func:__ptr_ring_init_queue_alloc 0 0 include/linux/skmsg.h:415 func:sk_psock_init_link 0 0 include/linux/bpf.h:2237 func:bpf_map_kmalloc_node 0 0 include/linux/ptr_ring.h:628 func:ptr_ring_resize_mul= tiple 24576 3 include/linux/ptr_ring.h:471 func:__ptr_ring_init_queue_alloc 0 0 include/net/netlink.h:1896 func:nla_memdup 0 0 include/linux/sockptr.h:97 func:memdup_sockptr 0 0 include/net/request_sock.h:131 func:reqsk_alloc 0 0 include/net/tcp.h:2456 func:tcp_v4_save_options 0 0 include/net/tcp.h:2456 func:tcp_v4_save_options 0 0 include/crypto/hash.h:586 func:ahash_request_alloc 0 0 include/linux/sockptr.h:97 func:memdup_sockptr 0 0 include/linux/sockptr.h:97 func:memdup_sockptr 0 0 net/sunrpc/auth_gss/auth_gss_internal.h:38 func:simple_get_netobj 0 0 include/crypto/hash.h:586 func:ahash_request_alloc 0 0 include/net/netlink.h:1896 func:nla_memdup 0 0 include/crypto/skcipher.h:869 func:skcipher_request_a= lloc 0 0 include/net/fq_impl.h:361 func:fq_init 0 0 include/net/netlabel.h:316 func:netlbl_catmap_alloc and it finds our example: 832 13 include/linux/jbd2.h:1607 func:jbd2_alloc_inode Interestingly the inlined functions which are called from multiple places will have multiple entries with the same file+line: 0 0 include/linux/dma-fence-chain.h:91 func:dma_fence_chain_alloc 0 0 include/linux/dma-fence-chain.h:91 func:dma_fence_chain_alloc 0 0 include/linux/dma-fence-chain.h:91 func:dma_fence_chain_alloc 0 0 include/linux/dma-fence-chain.h:91 func:dma_fence_chain_alloc 0 0 include/linux/dma-fence-chain.h:91 func:dma_fence_chain_alloc So, duplicate entries can be also used as an indication of an inlined alloc= ator. I'll go chase these down and will post a separate patch converting them.