Message ID | 20240717181239.2510054-1-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 89DC2C3DA60 for <linux-mm@archiver.kernel.org>; Wed, 17 Jul 2024 18:12:47 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 050656B0085; Wed, 17 Jul 2024 14:12:47 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id F1B2E6B0089; Wed, 17 Jul 2024 14:12:46 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id DAD336B0095; Wed, 17 Jul 2024 14:12:46 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0017.hostedemail.com [216.40.44.17]) by kanga.kvack.org (Postfix) with ESMTP id B77206B0085 for <linux-mm@kvack.org>; Wed, 17 Jul 2024 14:12:46 -0400 (EDT) Received: from smtpin10.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay06.hostedemail.com (Postfix) with ESMTP id 60F7CA3E7B for <linux-mm@kvack.org>; Wed, 17 Jul 2024 18:12:46 +0000 (UTC) X-FDA: 82350040332.10.623CBF9 Received: from mail-yb1-f202.google.com (mail-yb1-f202.google.com [209.85.219.202]) by imf11.hostedemail.com (Postfix) with ESMTP id B782840017 for <linux-mm@kvack.org>; Wed, 17 Jul 2024 18:12:43 +0000 (UTC) Authentication-Results: imf11.hostedemail.com; dkim=pass header.d=google.com header.s=20230601 header.b=h3Z5qPao; spf=pass (imf11.hostedemail.com: domain of 3mgmYZgYKCEk352pymrzzrwp.nzxwty58-xxv6lnv.z2r@flex--surenb.bounces.google.com designates 209.85.219.202 as permitted sender) smtp.mailfrom=3mgmYZgYKCEk352pymrzzrwp.nzxwty58-xxv6lnv.z2r@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=1721239944; 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: references:dkim-signature; bh=6pCMaBILMVZMpUv76l77hj2CnbpHGxW5ooU7g9rN7C0=; b=BZHgCOAUKtRK5nG10yY6vAakwy9Hb+rQZyxCKDQRbU4IULYUo2GfO7srLRoAY+yXNc62S8 N9Ve5CDfUVm/u0ZFnxct88AJUSShoURLu/Zp+BUV1zmolfTT4Gu0Jq5DQON+8DJZCWYry3 J8bSnMGZ5NwL1hJxoMEt/rs1VsQm2CE= ARC-Authentication-Results: i=1; imf11.hostedemail.com; dkim=pass header.d=google.com header.s=20230601 header.b=h3Z5qPao; spf=pass (imf11.hostedemail.com: domain of 3mgmYZgYKCEk352pymrzzrwp.nzxwty58-xxv6lnv.z2r@flex--surenb.bounces.google.com designates 209.85.219.202 as permitted sender) smtp.mailfrom=3mgmYZgYKCEk352pymrzzrwp.nzxwty58-xxv6lnv.z2r@flex--surenb.bounces.google.com; dmarc=pass (policy=reject) header.from=google.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1721239944; a=rsa-sha256; cv=none; b=wIqex9g+B2MHVP6ZdurgYOgV79HAMlXy/GE8dlXX7GqChTGbJ9diBaJFhnoRAV7trVb8KV UMFGYiHCqhVEXr7/FOHNv2rXccdg9puxjkA+yIHdF8a6XPAGdy16zJLsQGiptWDGmiBY6G tSIxP8s8+JwhsKFwdd3JIxsTdJscPIM= Received: by mail-yb1-f202.google.com with SMTP id 3f1490d57ef6-dfa73db88dcso175893276.0 for <linux-mm@kvack.org>; Wed, 17 Jul 2024 11:12:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1721239963; x=1721844763; darn=kvack.org; h=cc:to:from:subject:message-id:mime-version:date:from:to:cc:subject :date:message-id:reply-to; bh=6pCMaBILMVZMpUv76l77hj2CnbpHGxW5ooU7g9rN7C0=; b=h3Z5qPao5NTSI8JXzxB1YEfDw7QTBbwJv3hzWiFnorpQy2WLrX0AZPuQcGlWtPiw+K aelNxlH2QVm0fIctQvohB06xT1xvf6o4kUu8MDWhFZtI4LFxrG91unqn1StaTPO2mUcw PFkoQU696enVgoK/A/epyi7xxFMuQbKRp9TPS7RbyDt1P5iHlvs+7qWMV+tkWSEArksF K7yl8pTBXIKQ7Uvb7YQFSBOs0e8YNvV9hfE41HSNQiR/WGguXas6QXjuk5wM4zj5GiEe pxiF6+4JIOYWr14J96/JTUXBu8vq3Lqk8wOTN/DRN5rcnO5kxU0e/dpn2TpX6QO1iX0t 3xKA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1721239963; x=1721844763; h=cc:to:from:subject:message-id:mime-version:date:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=6pCMaBILMVZMpUv76l77hj2CnbpHGxW5ooU7g9rN7C0=; b=TrivV2NYVm1hCM2rb/CSR30MaQxBtLaegETgDEB4Ak1MjDeth78tr2GxJUqJxkSOgi kZd2aXxG4CaU85S2kvGzMSV6wkEweY05OCqZRSx18q7mhQ/ST1DdZLcX5Gh4NR+JkbDg DfjO1BtSLhDX3ElUdcosmtqVW3lAlgpWtmfx1PFZofvXauRJCqdnVq2Iu51zlVpYL6Rm GPFVIcpZF5GeqGCRbuByMDjbqmr3oRITnhk+9a0wJoUV03ZEE6F78VeyA+NZ6AB0hGRf W/0Dqp8ICqhxsfk2TJBBzH4tE8vD9l2IkiD7Dwt2vYiPKWwSVqTd77z/NZgap4PtSjkn Qwrw== X-Forwarded-Encrypted: i=1; AJvYcCUlFDPqOI0yIDNEFAjOjeqZuqpX9w3reCUq0XXb+FuX9xw/c+AfEUTLHCGk7NSsrpjhf+hXvWJsImGPG4kZlN3SZ5M= X-Gm-Message-State: AOJu0YzXmZf1uduHi6AZm3IjxQPyyefw/aXeGOL/GLsICyyRC3b7m1ne TsYhMrL1+LBm12f6kGszoGUr60LTV0hzmS+rop6c45/d6PoOYYYYnp4yit+4GAAxc3AFhSmGqoA 9rA== X-Google-Smtp-Source: AGHT+IF19jbUpQeDJ/W0pDc5ATf6kXEYujgDlZOQKr66XMlhIzOfsvZ1D1pGIRH1/ONk+P0xbyr3eay6CUU= X-Received: from surenb-desktop.mtv.corp.google.com ([2620:15c:211:201:f44b:e467:5c7c:74ab]) (user=surenb job=sendgmr) by 2002:a05:6902:2b09:b0:e05:ec0e:38d9 with SMTP id 3f1490d57ef6-e05febb8182mr403276.12.1721239962759; Wed, 17 Jul 2024 11:12:42 -0700 (PDT) Date: Wed, 17 Jul 2024 11:12:38 -0700 Mime-Version: 1.0 X-Mailer: git-send-email 2.45.2.993.g49e7a77208-goog Message-ID: <20240717181239.2510054-1-surenb@google.com> Subject: [PATCH v2 1/2] alloc_tag: export mem_alloc_profiling_key used by modules From: Suren Baghdasaryan <surenb@google.com> To: akpm@linux-foundation.org Cc: kent.overstreet@linux.dev, hch@infradead.org, vbabka@suse.cz, pasha.tatashin@soleen.com, souravpanda@google.com, keescook@chromium.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org, surenb@google.com, kernel test robot <lkp@intel.com> Content-Type: text/plain; charset="UTF-8" X-Rspamd-Server: rspam03 X-Rspam-User: X-Rspamd-Queue-Id: B782840017 X-Stat-Signature: ct871een4upftr6d3pogseis9jpn77rg X-HE-Tag: 1721239963-954161 X-HE-Meta: U2FsdGVkX18Dvsyc1h9cZ6bNrUWZBAfNqdSSlCRb2y80T7BbMkvJhkZtdu1AzlciTlolHMSkyPlYA2rq4vpARqWiMFAKdBjpZ2SYIwtY8qFObTnveYYaCa81h1agGDHssAi9iDBwnTGpJqUr9Z00nIx/GJ5JuGBQ3/4crADklySj8qeR16hg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xvHv//DuepXwK4xctIvLwCfKAZM58Ir+n+DVjgYf7b8NDmWGUILbidqrYcvldqT4qCIdRUGXxJHGp0HGRIFs7PHDYjEtuqFkn/HndCMbAP3r7q/eNPGJYgJzvG4hmY81aqy0TZBbOZ74tHF8y0Ofbf13qiqflnUd9Lo455ok4Ubw6K3erZUYmp28oFrvd+eGqZWkF/NerWo4UHAgpxv4LZYMsLaUN3EUMyJ30UROVJF2J8B6BDqZDrhoigs6bzeX9Z0KuMMQmhkXHdeYkKkDFoRgH7hB+UgbzfkpY6+DEqTkQNnBSLNEoD8kqF1AL7ZDgvalD30/bKTHgYdo0wo6mjcRAwVavSLl/bZy3tm5XbDJcwGIont3sa6gPGn6iZFveJewt00= X-Bogosity: Ham, tests=bogofilter, spamicity=0.009383, 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 |
[v2,1/2] alloc_tag: export mem_alloc_profiling_key used by modules
|
expand
|
diff --git a/lib/alloc_tag.c b/lib/alloc_tag.c index 81e5f9a70f22..832f79a32b3e 100644 --- a/lib/alloc_tag.c +++ b/lib/alloc_tag.c @@ -15,6 +15,7 @@ EXPORT_SYMBOL(_shared_alloc_tag); DEFINE_STATIC_KEY_MAYBE(CONFIG_MEM_ALLOC_PROFILING_ENABLED_BY_DEFAULT, mem_alloc_profiling_key); +EXPORT_SYMBOL(mem_alloc_profiling_key); struct allocinfo_private { struct codetag_iterator iter;