Message ID | 20230501165450.15352-27-surenb@google.com (mailing list archive) |
---|---|
State | New |
Headers | show
Return-Path: <owner-linux-mm@kvack.org> 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 E9276C7EE29 for <linux-mm@archiver.kernel.org>; Mon, 1 May 2023 16:56:10 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 8140190001E; Mon, 1 May 2023 12:56:10 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 7EB1C900002; Mon, 1 May 2023 12:56:10 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 63D6790001E; Mon, 1 May 2023 12:56:10 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0011.hostedemail.com [216.40.44.11]) by kanga.kvack.org (Postfix) with ESMTP id 4C6CA900002 for <linux-mm@kvack.org>; Mon, 1 May 2023 12:56:10 -0400 (EDT) Received: from smtpin15.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay10.hostedemail.com (Postfix) with ESMTP id 039F6C07CD for <linux-mm@kvack.org>; Mon, 1 May 2023 16:56:09 +0000 (UTC) X-FDA: 80742288900.15.667AA66 Received: from mail-yb1-f201.google.com (mail-yb1-f201.google.com [209.85.219.201]) by imf25.hostedemail.com (Postfix) with ESMTP id 22264A0012 for <linux-mm@kvack.org>; Mon, 1 May 2023 16:56:07 +0000 (UTC) Authentication-Results: imf25.hostedemail.com; dkim=pass header.d=google.com header.s=20221208 header.b=Db2dTvDW; spf=pass (imf25.hostedemail.com: domain of 3J-9PZAYKCG4egdQZNSaaSXQ.OaYXUZgj-YYWhMOW.adS@flex--surenb.bounces.google.com designates 209.85.219.201 as permitted sender) smtp.mailfrom=3J-9PZAYKCG4egdQZNSaaSXQ.OaYXUZgj-YYWhMOW.adS@flex--surenb.bounces.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=1682960168; 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: in-reply-to:in-reply-to:references:references:dkim-signature; bh=YfoToyHVT1LJlGJVQ6MuRV3hbhaLXh5d5qfc4HkIPik=; b=PVMEPwtfZaHbylhC+momYvjCN4KI+Az367XC+7/tQMkbjqKMidJgZOVaQi8W877NGgDjTq 91k3awxxQ0Tt1eR5kxu9z9cZkD9KjNXMlXffd7aNRLe/9XomPF+ZuED9Mk0kZTbm5ClVJ2 BQzW9mepJuZgjr1YcSzpKgILIrhJqBc= ARC-Authentication-Results: i=1; imf25.hostedemail.com; dkim=pass header.d=google.com header.s=20221208 header.b=Db2dTvDW; spf=pass (imf25.hostedemail.com: domain of 3J-9PZAYKCG4egdQZNSaaSXQ.OaYXUZgj-YYWhMOW.adS@flex--surenb.bounces.google.com designates 209.85.219.201 as permitted sender) smtp.mailfrom=3J-9PZAYKCG4egdQZNSaaSXQ.OaYXUZgj-YYWhMOW.adS@flex--surenb.bounces.google.com; dmarc=pass (policy=reject) header.from=google.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1682960168; a=rsa-sha256; cv=none; b=hVIhot11oSX253dFbjzfdJnvOkSuLnv9sP6aPkqFdGSSnwe38g2Ng+kupQv5yt5W9pLWwO rsXeVo0175M4myY/4PM9JlahsObKdrvqprxWMU3G+oVl6sn5fsXmozqoGfrPwve68WMy5f TeD689kYa5AFS58iFkT3Ak2ai4ZYR+Q= Received: by mail-yb1-f201.google.com with SMTP id 3f1490d57ef6-b9a8075bd7cso4837247276.1 for <linux-mm@kvack.org>; Mon, 01 May 2023 09:56:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20221208; t=1682960167; x=1685552167; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:from:to:cc:subject:date:message-id:reply-to; bh=YfoToyHVT1LJlGJVQ6MuRV3hbhaLXh5d5qfc4HkIPik=; b=Db2dTvDWbMM6MtFyLXOOyG+p1K651ww8uL+kJDohPMMG6EWYrhfJFGluhHEW0wqXl5 UKPrByNQ1Z4QXnisfDyfKX7dbeY+3mxaMGuFVRBjDUr3JiqQISt6WeUr2I6JPah8BGyR FjdvJFEuIXgNlkkoVLLQxMPMSKPuyrjPesVcRR9te3ugJsI7tT+EXrko3AZ8ov2CcY8R JR28aghvPN6+RkIPURXyrGkWco+xEzOLoyotOADRZq9o/XJ68RcgnDEgHpMVXMMei422 +DGh+VKx3LXxPBgO4eeggvJc6/61DcK7Fvg52O8gRCKPK/nk5YYM+Q4LDqT5D1RFb4LF rBwA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1682960167; x=1685552167; 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=YfoToyHVT1LJlGJVQ6MuRV3hbhaLXh5d5qfc4HkIPik=; b=F1UeJpkmON37ujJNuD8auz9nKhwK88joAOIdd6NsUXoppjTMePaeZYsrpKMoS92M6v 0pgxmy9LQNaPaDmOmmagXxA+ROnXmCehmjlCYCrHfUA/CjALMj2M7NqPMqt+ik6XltnI H3izDQ7MjW1w7s7MgRO56gXSGdrBfrKJpTKi3nvGmvqLCUzSSQuDq5DAk703dom0sSxl vk847GX98YkrHtjCswtE6fZNRwgsxu1OUn1xSpbEmBiszTg5mvrjm7iexdjzy5j2CTvd 8eYktNZGuOJ2E41fvAi2vBYgS6Lc0SdmBVREPGL72s8eic7snQS2nDGXg73F5BtY1XzG UJDQ== X-Gm-Message-State: AC+VfDwglY4GD0zMxt0ZgdLIPc8cVYKMipet5fvxNBVxTzxKAwsZDfMh qUm5dtPoivFjh/8oZ7SIU/TcIFiGvqA= X-Google-Smtp-Source: ACHHUZ40g7B5Nzrue3Inkynn2rCW8wBzh6gvt9xgi1/WmwP7LCTtOXWTAuDa8Mc648etXigh7Ci0w5kPSCE= X-Received: from surenb-desktop.mtv.corp.google.com ([2620:15c:211:201:6d24:3efd:facc:7ac4]) (user=surenb job=sendgmr) by 2002:a25:c0ca:0:b0:b9a:7cd6:ba7a with SMTP id c193-20020a25c0ca000000b00b9a7cd6ba7amr5449586ybf.12.1682960167516; Mon, 01 May 2023 09:56:07 -0700 (PDT) Date: Mon, 1 May 2023 09:54:36 -0700 In-Reply-To: <20230501165450.15352-1-surenb@google.com> Mime-Version: 1.0 References: <20230501165450.15352-1-surenb@google.com> X-Mailer: git-send-email 2.40.1.495.gc816e09b53d-goog Message-ID: <20230501165450.15352-27-surenb@google.com> Subject: [PATCH 26/40] mm/slub: Mark slab_free_freelist_hook() __always_inline From: Suren Baghdasaryan <surenb@google.com> To: akpm@linux-foundation.org Cc: kent.overstreet@linux.dev, 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, corbet@lwn.net, void@manifault.com, peterz@infradead.org, juri.lelli@redhat.com, ldufour@linux.ibm.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, 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, 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, shakeelb@google.com, songmuchun@bytedance.com, jbaron@akamai.com, rientjes@google.com, minchan@google.com, kaleshsingh@google.com, surenb@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 Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 22264A0012 X-Stat-Signature: n15ba3rebmsscrd7fx1nepyoiucoudq4 X-Rspam-User: X-Rspamd-Server: rspam08 X-HE-Tag: 1682960167-610852 X-HE-Meta: U2FsdGVkX19siJe/8FWVU5uF8awb6LaSmZfFSHtoJPYwZdRRblOazI388chLhKOPrbnW9yoCSlB6Xj87Tq9gRES5zOop4NapFtWmBNMQvjrIPhzbCmpkE2CEub9hEvqHOiu1SSBPPZ78FdYI0e8xgvDbtMw1w+D2YzmQH20ZtyHkCVTLf+Q/QL6CbqSXUnxLJGqHDruCWTFoClaoC/JwRT2Ruo56PgUff211bWzdzXgqlwkwL15Vo1LkTrhQWiCp8jZ0wL19muyfVxlMF8SRU+qqJvGx1vv9WV/lMcnXn4WN0/NO2ud36jW9r0xnn10os6eSLfw7+heunXdnlIivA7J/CtY9d6qRisQGW1NR7VCGADd1S/2p9n9WFeHi/WqRBuuDjmM/9XzvrzGZsD9ql1Fhy4XkmGM6uPmJ9I6KtZsm9kTDr5aFANvYYAHkpp8QoZcIpsVRAi+RnWO1fvof0BMko0VfXn17VcaNbJtwKCq5eDgNL34MdrwvDBI8AsfnsXovyLgfnuJfqXauakmoP08fq7lN73jKP6y4pWdx78pKVt9Vx/ZiVTtN4Wg9Mwo7v5obRGWxjZ3PW83poO1CbOw8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C+yKmFTFBChYpnMgrmo73H5dTMgHWxwBuVXEL X-Bogosity: Ham, tests=bogofilter, spamicity=0.000001, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: <linux-mm.kvack.org> |
Series |
Memory allocation profiling
|
expand
|
diff --git a/mm/slub.c b/mm/slub.c index 8f57fd086f69..9dd57b3384a1 100644 --- a/mm/slub.c +++ b/mm/slub.c @@ -1781,7 +1781,7 @@ static __always_inline bool slab_free_hook(struct kmem_cache *s, return kasan_slab_free(s, x, init); } -static inline bool slab_free_freelist_hook(struct kmem_cache *s, +static __always_inline bool slab_free_freelist_hook(struct kmem_cache *s, void **head, void **tail, int *cnt) {