Message ID | 20231024134637.3120277-26-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 F351BC25B48 for <linux-mm@archiver.kernel.org>; Tue, 24 Oct 2023 13:48:03 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 492816B0284; Tue, 24 Oct 2023 09:47:40 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 3F08F6B0285; Tue, 24 Oct 2023 09:47:40 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 2449F6B0286; Tue, 24 Oct 2023 09:47:40 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0015.hostedemail.com [216.40.44.15]) by kanga.kvack.org (Postfix) with ESMTP id 07E5F6B0284 for <linux-mm@kvack.org>; Tue, 24 Oct 2023 09:47:40 -0400 (EDT) Received: from smtpin03.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay09.hostedemail.com (Postfix) with ESMTP id D9E658027E for <linux-mm@kvack.org>; Tue, 24 Oct 2023 13:47:39 +0000 (UTC) X-FDA: 81380482638.03.A3918DA Received: from mail-yw1-f202.google.com (mail-yw1-f202.google.com [209.85.128.202]) by imf19.hostedemail.com (Postfix) with ESMTP id 2B7D71A0002 for <linux-mm@kvack.org>; Tue, 24 Oct 2023 13:47:38 +0000 (UTC) Authentication-Results: imf19.hostedemail.com; dkim=pass header.d=google.com header.s=20230601 header.b=4ZGTLOgy; spf=pass (imf19.hostedemail.com: domain of 3-co3ZQYKCJ4QSPCL9EMMEJC.AMKJGLSV-KKIT8AI.MPE@flex--surenb.bounces.google.com designates 209.85.128.202 as permitted sender) smtp.mailfrom=3-co3ZQYKCJ4QSPCL9EMMEJC.AMKJGLSV-KKIT8AI.MPE@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=1698155258; 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=OUWmo6RLkaXHvLlOp0/KP9HFW8MtULS71POlQ8HMTCI=; b=iT3wOzQrNfC+LqhB5hWWfxf7qxVpVe+2CfYEfMr8DPa+W1cuDmPqGcae6fzXoatlGbvYPr e23B8hpQiTF3MowdhU6XGVSFoIKXhcrRcr8d24t0hcYm/wZ+c2XlhOam3SXTsdQiMl4aYE kRWGqarICIyMiJG+3K62xL10qDbVozM= ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1698155258; a=rsa-sha256; cv=none; b=nmarvL6mIIN+YPUk0rA1LS1UjHsMcVHe+ftQZnlthAQdWZCJW1HteKWDfzOOfyRdC82D32 GaCNKTftoq/AVZx39XsKBMZnwJBXBfb9yP0LdoYoO93D5z6cNXgqShb42PNhj4GyIEbHgS W3Zdh3yhgcuXC3L9q1s4H2L9uZoZLnY= ARC-Authentication-Results: i=1; imf19.hostedemail.com; dkim=pass header.d=google.com header.s=20230601 header.b=4ZGTLOgy; spf=pass (imf19.hostedemail.com: domain of 3-co3ZQYKCJ4QSPCL9EMMEJC.AMKJGLSV-KKIT8AI.MPE@flex--surenb.bounces.google.com designates 209.85.128.202 as permitted sender) smtp.mailfrom=3-co3ZQYKCJ4QSPCL9EMMEJC.AMKJGLSV-KKIT8AI.MPE@flex--surenb.bounces.google.com; dmarc=pass (policy=reject) header.from=google.com Received: by mail-yw1-f202.google.com with SMTP id 00721157ae682-5a7bbe0a453so55617587b3.0 for <linux-mm@kvack.org>; Tue, 24 Oct 2023 06:47:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1698155257; x=1698760057; darn=kvack.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=OUWmo6RLkaXHvLlOp0/KP9HFW8MtULS71POlQ8HMTCI=; b=4ZGTLOgysRoKG2TA33KSz92pt0Ka8uLrviWZSvYFHu2wp35HTQbCN8oSR89nMgsNN1 SlxffiJOQMO52sC08EooR56g9djLJiX/LD4WSY9+eN4iIZCphtSOvyhpbdhieh2ZUPqQ /vxqdgiKEr6L6ve1IkQUHHasPf+4XMCGW07lYA/sWIUrUUdSF2YB2yDNJVuE7hS5zUP3 EGjkmondPlrV6tKHXhWHniMsDgTCp0u+2bn1nsFaVB1AlaXcoZX1KYL3JQcYaVKFzb/Z 6oKnBQVPCdBI8zppGkpKb1RRgQiSRnljcKboP80JXgdtliX6cbdA8v+YsU8Nm1gkbb90 6inQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698155257; x=1698760057; 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=OUWmo6RLkaXHvLlOp0/KP9HFW8MtULS71POlQ8HMTCI=; b=VKo6vlYF3OcbEx/Wz0MQlYVJJPCbjzjjwKFcClTepuuU047/+vzkZeXyJNklwklLyE uvRKbr6p1qwsLIHvpPp0tJQpdbhpfEWazPeLu9lrT9nzmQGqMd274qtelM0BeGhh3zmo yQB3+yy+86tBD/YF/T7eEFqEYjOS2sSpzfNNEUAIuroH4WBjIin0xYjjcGoiBy7a8oBO +QNry/Xc881GxWoHPDsRIRyJ2ifrHoeKCMAq1+RYVG91nMCgJojTkIQUNR9esedylJYA SBWfWBfvp2Gld4EliTWguXGmbz1pgIMGTIx9i0KDhIUmngfL/bqqrHTEe58wzQyYi3oE JoCQ== X-Gm-Message-State: AOJu0Yz3CnSLCRbgJZ0HwaCyn12V0i8rFgBDGpDvX6Zn7imV22wDJ7KC o4gvivgEDPMo0BVGJKm8uE7EiDfrN8Q= X-Google-Smtp-Source: AGHT+IHQ3VEMdDHth6teCnTo9GNQ4j4PajdUPKRUHryC857gV5hBaW9Bct9jFesWnWbFdQlkFZvB05Yolzc= X-Received: from surenb-desktop.mtv.corp.google.com ([2620:15c:211:201:45ba:3318:d7a5:336a]) (user=surenb job=sendgmr) by 2002:a81:48c9:0:b0:5a7:db29:40e3 with SMTP id v192-20020a8148c9000000b005a7db2940e3mr273153ywa.7.1698155257303; Tue, 24 Oct 2023 06:47:37 -0700 (PDT) Date: Tue, 24 Oct 2023 06:46:22 -0700 In-Reply-To: <20231024134637.3120277-1-surenb@google.com> Mime-Version: 1.0 References: <20231024134637.3120277-1-surenb@google.com> X-Mailer: git-send-email 2.42.0.758.gaed0368e0e-goog Message-ID: <20231024134637.3120277-26-surenb@google.com> Subject: [PATCH v2 25/39] 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, 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, 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: 2B7D71A0002 X-Rspam-User: X-Stat-Signature: ohhif5peuwb1agu5hyxin3puqp495idc X-Rspamd-Server: rspam03 X-HE-Tag: 1698155258-602253 X-HE-Meta: U2FsdGVkX18dR3dIZiCfU6yfAVZ+78qYhd/5CyQvF6KPH7aKpQrGgDox0up418qrKCC2foHPAoZXBsWUABXdVXhQqUQ8Xq/kdxkXhArDpB0k/e89EsvrmQxvxvg1JxJOZ3bxqnN7++JLHuUj8mLCRMe5Q1YSuHfopqFJlbq11wVxPqG6nDOL8ds9gOIFB6qxBCIf2lLP4t/I7ukixIzgmd3ehVcE8A+MofEE2UMjwOU3R7otk5GXV5+GQQsLCbgHDEXIiTzSBuAG5CLnW+0qSuQWy9n0vcEgeQIV25eMxxLtSCHPtXHxlVxNAjXXUHROueOf5eb06njiCC1pDYqbfpDov7F5SIsFyQnXc5xgBRfUWD3jMhoRoqgyxc6PKzFYlL6XHNuqVDTt97/DqePwJ/ff98L7p4mj8FoL7Aew1x/y5nRn3xjjtsYuGrLCfVb/McHkXbJaiW6KO2t23a5GXvyPZBdou9vP8C92wfELNfDtdeajY7DPXeVvzFVA5EAqyTMS4MYnPrwWJqA/qtDH7jqnpe3yq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gxnpyEslSjXUoqf8vJHSXSyGb3VTXnLrM0nDigncdcPXH+hGehSMCGAQynrCsdeeV7oqeEqtuhmMm/T5EUYtTTaJOQEfVYqIFnJmThuvXt+CpICXNeC0AV 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: <linux-mm.kvack.org> List-Subscribe: <mailto:majordomo@kvack.org> List-Unsubscribe: <mailto:majordomo@kvack.org> |
Series |
Memory allocation profiling
|
expand
|
diff --git a/mm/slub.c b/mm/slub.c index f5e07d8802e2..222c16cef729 100644 --- a/mm/slub.c +++ b/mm/slub.c @@ -1800,7 +1800,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) {