From patchwork Tue Mar 26 23:14:50 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Suren Baghdasaryan X-Patchwork-Id: 13605342 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 EAD8BCD11DF for ; Tue, 26 Mar 2024 23:15:08 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 415126B0098; Tue, 26 Mar 2024 19:15:07 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 34DD56B0099; Tue, 26 Mar 2024 19:15:07 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 0DC706B009A; Tue, 26 Mar 2024 19:15:07 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0013.hostedemail.com [216.40.44.13]) by kanga.kvack.org (Postfix) with ESMTP id E798F6B0098 for ; Tue, 26 Mar 2024 19:15:06 -0400 (EDT) Received: from smtpin14.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay09.hostedemail.com (Postfix) with ESMTP id C62CA80767 for ; Tue, 26 Mar 2024 23:15:06 +0000 (UTC) X-FDA: 81940747812.14.5AB605A Received: from mail-yw1-f202.google.com (mail-yw1-f202.google.com [209.85.128.202]) by imf19.hostedemail.com (Postfix) with ESMTP id 2DBD71A0003 for ; Tue, 26 Mar 2024 23:15:04 +0000 (UTC) Authentication-Results: imf19.hostedemail.com; dkim=pass header.d=google.com header.s=20230601 header.b=NRLATjmt; dmarc=pass (policy=reject) header.from=google.com; spf=pass (imf19.hostedemail.com: domain of 3-FYDZgYKCOkdfcPYMRZZRWP.NZXWTYfi-XXVgLNV.ZcR@flex--surenb.bounces.google.com designates 209.85.128.202 as permitted sender) smtp.mailfrom=3-FYDZgYKCOkdfcPYMRZZRWP.NZXWTYfi-XXVgLNV.ZcR@flex--surenb.bounces.google.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1711494905; 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=Z1zpMAHTkJIGxVEr35nJnrD/WTFtttLl1QenMrHbBG0=; b=0ygUxHYQeDkx5L6l6wIv4hcKxIFgbzVCqCsSgogp47izwkNjHGNen//MpIvIHE7F8+HStA Rt4OLnlXZQ1jwPzNqo8UhW3di997lOIC7qmdl5K6Q8Jdkpm+79II+o8PnnI0ia2jGkbKDP MFA3RpPIE6BNohh8M6K1yLrzx3buH+o= ARC-Authentication-Results: i=1; imf19.hostedemail.com; dkim=pass header.d=google.com header.s=20230601 header.b=NRLATjmt; dmarc=pass (policy=reject) header.from=google.com; spf=pass (imf19.hostedemail.com: domain of 3-FYDZgYKCOkdfcPYMRZZRWP.NZXWTYfi-XXVgLNV.ZcR@flex--surenb.bounces.google.com designates 209.85.128.202 as permitted sender) smtp.mailfrom=3-FYDZgYKCOkdfcPYMRZZRWP.NZXWTYfi-XXVgLNV.ZcR@flex--surenb.bounces.google.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1711494905; a=rsa-sha256; cv=none; b=BfCVe0YhwCcZqKX3kdXwEZHAmTGCZmOhbKuNhBDNKEUdOr7cMDHx5XnW23byj7YY/xZot8 no0+A6AND3tohllu3NgZ3WlPmUi11j38dJo3Q3KMPu/IOfmuvR5LcdUEER++FBM8OWpqok 3aQbIrHs2JgjqnHRta0n5wDr8TZSTPA= Received: by mail-yw1-f202.google.com with SMTP id 00721157ae682-60cd041665bso112693777b3.0 for ; Tue, 26 Mar 2024 16:15:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1711494904; x=1712099704; 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=Z1zpMAHTkJIGxVEr35nJnrD/WTFtttLl1QenMrHbBG0=; b=NRLATjmt/TTGL+i6LO9wDestT1nNv/2XlxLLyOaMa8bQNPWAhOwYWswssRUnvO1PE/ /HkVNgOqQjXRF72BTytxuAe6Yn28Luf03gRExmUpi6bzyaXLNnLZfe9AEK6rRRT7nuMY SDNvSTHCMsUPP+gyfiid49ZN08Qe/slYGxW4arlPz3l9YnDncFoHMABZwmUpwkpsUZHH OQ/OrhvRSatrmT6BgQLI6uFp1QDVnaJ6jYcdkA+nHoyDyHfTj1AN5r/vWKOWM8Ej2OMC QwIU85Jz7gsupXHQBuw3mPYKgr7ReY9yYk+RjGr3Ts0ZPfN0xHKHXB6npTIVjBcZkdSG rdQQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711494904; x=1712099704; 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=Z1zpMAHTkJIGxVEr35nJnrD/WTFtttLl1QenMrHbBG0=; b=W+dhNptxeUM8EPjeo9TGfEEM+rOccY094l25siJEPkp6EdjBU3HPbcfjaBRKX7frLc FwJWA3fYPHPdDXRqJHomI+m+UcmLOfpOhsypy0nh+8vjcXRkCfeiAAFFAnFFtJJBnM7X 6gF49juMZv3wIjfnepQMQc0tvSAPnQAYTXz3+3NaYwbqzz58YWBLxcrK5cJbMLPuStDM LQvO0N+cBkbK7LhUFNQjYbRN5rjv3Hq5pnNIBdk8qMEzB/0t3+eGAhf5T4yN657fTBBJ +/aHoX+WwLY0HqkEdExLNTwx18vVtS+9d8eQgx5csuc1oRc6D7F3Zt3tGdYorUwfJ/9t dK3g== X-Forwarded-Encrypted: i=1; AJvYcCVDwsNAnRDzpbL08hsfxTdyts7ZHqifALbb+bNqtSKDfJXf1yeImB4GZPhlFczGP72NvT2nrBrhJVEFJvvaXrt/JXk= X-Gm-Message-State: AOJu0YxVGUA85TXtnB/YlJSiStpuQHavyTEWIk8O4OIbs0L2FBQOpAPM /NUMjVrHkR+IhXSV2uwpO7d7VgHLYAvKx2t28M7cfcia2y6OAnfix5QvHB2KwHSJcMRC23inb9P dPA== X-Google-Smtp-Source: AGHT+IHj5F8DepFyhSxPhI7O3DbFDYyiys5DH6IOqbp8/7mkJ8GY2Mpdf6Up94sIeC0KXppTdKghpYr7NYc= X-Received: from surenb-desktop.mtv.corp.google.com ([2620:15c:211:201:cef2:761:ad8:ed9a]) (user=surenb job=sendgmr) by 2002:a81:92c6:0:b0:611:2133:8657 with SMTP id j189-20020a8192c6000000b0061121338657mr2737319ywg.2.1711494904325; Tue, 26 Mar 2024 16:15:04 -0700 (PDT) Date: Tue, 26 Mar 2024 16:14:50 -0700 In-Reply-To: <20240326231453.1206227-1-surenb@google.com> Mime-Version: 1.0 References: <20240326231453.1206227-1-surenb@google.com> X-Mailer: git-send-email 2.44.0.396.g6e790dbe36-goog Message-ID: <20240326231453.1206227-5-surenb@google.com> Subject: [PATCH 4/6] Documentation: mm: vmalloc: undo _noprof additions in the documentation From: Suren Baghdasaryan To: akpm@linux-foundation.org Cc: rdunlap@infradead.org, sfr@canb.auug.org.au, kent.overstreet@linux.dev, surenb@google.com, linux-mm@kvack.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org X-Rspamd-Queue-Id: 2DBD71A0003 X-Rspam-User: X-Rspamd-Server: rspam05 X-Stat-Signature: g9witf3cmnrjm1d4941so7iwg1o4ujcs X-HE-Tag: 1711494904-541151 X-HE-Meta: U2FsdGVkX1+0t5T+Cc5RkIT9OntM3kM9LOqVZb3fDP/g6EHI6YvQwalVFSG3PPkixyaT6P4FZaOYq91ydrMJJ/H/ohchFvEWKYPf5BA6u2crUZMg3S4u+rsHIWZHZghaj0MTqn+SDCBO/mu1TaABcO47nAnr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FoYdxcl4mcwseccAvlddOkN9WJT/SBkn/ZBxyu7FficQpyfCCjRae3Xx1dpndMqMfU25lb0YXNYb0OJXmmeEenQ6MDtZmh16xc32vwnmF4D+GTNoNO3jtRn3gk7DLupkjJ1qb+LnNWawDeMvWDBfU= 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: With kernel-doc script change to handle xyz_noprof() names, the previous documentation changes and not needed anymore. Fixes: ed49858097c1 ("mm: vmalloc: enable memory allocation profiling") Signed-off-by: Suren Baghdasaryan Cc: linux-doc@vger.kernel.org Cc: Randy Dunlap Cc: Kent Overstreet --- mm/nommu.c | 8 ++++---- mm/util.c | 6 +++--- mm/vmalloc.c | 14 +++++++------- 3 files changed, 14 insertions(+), 14 deletions(-) diff --git a/mm/nommu.c b/mm/nommu.c index c0c58631d6cb..331d2f778695 100644 --- a/mm/nommu.c +++ b/mm/nommu.c @@ -223,7 +223,7 @@ void *vzalloc_noprof(unsigned long size) EXPORT_SYMBOL(vzalloc_noprof); /** - * vmalloc_node_noprof - allocate memory on a specific node + * vmalloc_node - allocate memory on a specific node * @size: allocation size * @node: numa node * @@ -240,7 +240,7 @@ void *vmalloc_node_noprof(unsigned long size, int node) EXPORT_SYMBOL(vmalloc_node_noprof); /** - * vzalloc_node_noprof - allocate memory on a specific node with zero fill + * vzalloc_node - allocate memory on a specific node with zero fill * @size: allocation size * @node: numa node * @@ -258,7 +258,7 @@ void *vzalloc_node_noprof(unsigned long size, int node) EXPORT_SYMBOL(vzalloc_node_noprof); /** - * vmalloc_32_noprof - allocate virtually contiguous memory (32bit addressable) + * vmalloc_32 - allocate virtually contiguous memory (32bit addressable) * @size: allocation size * * Allocate enough 32bit PA addressable pages to cover @size from the @@ -271,7 +271,7 @@ void *vmalloc_32_noprof(unsigned long size) EXPORT_SYMBOL(vmalloc_32_noprof); /** - * vmalloc_32_user_noprof - allocate zeroed virtually contiguous 32bit memory + * vmalloc_32_user - allocate zeroed virtually contiguous 32bit memory * @size: allocation size * * The resulting memory area is 32bit addressable and zeroed so it can be diff --git a/mm/util.c b/mm/util.c index 157b5edcba75..73703d6cd3dc 100644 --- a/mm/util.c +++ b/mm/util.c @@ -715,7 +715,7 @@ void *kvrealloc_noprof(const void *p, size_t oldsize, size_t newsize, gfp_t flag EXPORT_SYMBOL(kvrealloc_noprof); /** - * __vmalloc_array_noprof - allocate memory for a virtually contiguous array. + * __vmalloc_array - allocate memory for a virtually contiguous array. * @n: number of elements. * @size: element size. * @flags: the type of memory to allocate (see kmalloc). @@ -731,7 +731,7 @@ void *__vmalloc_array_noprof(size_t n, size_t size, gfp_t flags) EXPORT_SYMBOL(__vmalloc_array_noprof); /** - * vmalloc_array_noprof - allocate memory for a virtually contiguous array. + * vmalloc_array - allocate memory for a virtually contiguous array. * @n: number of elements. * @size: element size. */ @@ -754,7 +754,7 @@ void *__vcalloc_noprof(size_t n, size_t size, gfp_t flags) EXPORT_SYMBOL(__vcalloc_noprof); /** - * vcalloc_noprof - allocate and zero memory for a virtually contiguous array. + * vcalloc - allocate and zero memory for a virtually contiguous array. * @n: number of elements. * @size: element size. */ diff --git a/mm/vmalloc.c b/mm/vmalloc.c index e94ce4562805..48344d3014fd 100644 --- a/mm/vmalloc.c +++ b/mm/vmalloc.c @@ -3685,7 +3685,7 @@ static void *__vmalloc_area_node(struct vm_struct *area, gfp_t gfp_mask, } /** - * __vmalloc_node_range_noprof - allocate virtually contiguous memory + * __vmalloc_node_range - allocate virtually contiguous memory * @size: allocation size * @align: desired alignment * @start: vm area range start @@ -3841,7 +3841,7 @@ void *__vmalloc_node_range_noprof(unsigned long size, unsigned long align, } /** - * __vmalloc_node_noprof - allocate virtually contiguous memory + * __vmalloc_node - allocate virtually contiguous memory * @size: allocation size * @align: desired alignment * @gfp_mask: flags for the page level allocator @@ -3921,7 +3921,7 @@ void *vmalloc_huge_noprof(unsigned long size, gfp_t gfp_mask) EXPORT_SYMBOL_GPL(vmalloc_huge_noprof); /** - * vzalloc_noprof - allocate virtually contiguous memory with zero fill + * vzalloc - allocate virtually contiguous memory with zero fill * @size: allocation size * * Allocate enough pages to cover @size from the page level @@ -3959,7 +3959,7 @@ void *vmalloc_user_noprof(unsigned long size) EXPORT_SYMBOL(vmalloc_user_noprof); /** - * vmalloc_node_noprof - allocate memory on a specific node + * vmalloc_node - allocate memory on a specific node * @size: allocation size * @node: numa node * @@ -3979,7 +3979,7 @@ void *vmalloc_node_noprof(unsigned long size, int node) EXPORT_SYMBOL(vmalloc_node_noprof); /** - * vzalloc_node_noprof - allocate memory on a specific node with zero fill + * vzalloc_node - allocate memory on a specific node with zero fill * @size: allocation size * @node: numa node * @@ -4009,7 +4009,7 @@ EXPORT_SYMBOL(vzalloc_node_noprof); #endif /** - * vmalloc_32_noprof - allocate virtually contiguous memory (32bit addressable) + * vmalloc_32 - allocate virtually contiguous memory (32bit addressable) * @size: allocation size * * Allocate enough 32bit PA addressable pages to cover @size from the @@ -4025,7 +4025,7 @@ void *vmalloc_32_noprof(unsigned long size) EXPORT_SYMBOL(vmalloc_32_noprof); /** - * vmalloc_32_user_noprof - allocate zeroed virtually contiguous 32bit memory + * vmalloc_32_user - allocate zeroed virtually contiguous 32bit memory * @size: allocation size * * The resulting memory area is 32bit addressable and zeroed so it can be