From patchwork Tue Mar 26 23:14:52 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Suren Baghdasaryan X-Patchwork-Id: 13605344 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 5E48FC54E67 for ; Tue, 26 Mar 2024 23:15:14 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 9BBF86B009C; Tue, 26 Mar 2024 19:15:11 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 940856B009D; Tue, 26 Mar 2024 19:15:11 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 7BEAE6B009E; Tue, 26 Mar 2024 19:15:11 -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 631F56B009C for ; Tue, 26 Mar 2024 19:15:11 -0400 (EDT) Received: from smtpin12.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay05.hostedemail.com (Postfix) with ESMTP id 327C840652 for ; Tue, 26 Mar 2024 23:15:11 +0000 (UTC) X-FDA: 81940748022.12.ECEC8E0 Received: from mail-yb1-f201.google.com (mail-yb1-f201.google.com [209.85.219.201]) by imf29.hostedemail.com (Postfix) with ESMTP id 427BF12001F for ; Tue, 26 Mar 2024 23:15:09 +0000 (UTC) Authentication-Results: imf29.hostedemail.com; dkim=pass header.d=google.com header.s=20230601 header.b=BrS86Dbt; dmarc=pass (policy=reject) header.from=google.com; spf=pass (imf29.hostedemail.com: domain of 3_FYDZgYKCO0hjgTcQVddVaT.RdbaXcjm-bbZkPRZ.dgV@flex--surenb.bounces.google.com designates 209.85.219.201 as permitted sender) smtp.mailfrom=3_FYDZgYKCO0hjgTcQVddVaT.RdbaXcjm-bbZkPRZ.dgV@flex--surenb.bounces.google.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1711494909; 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=iJNXXwIfWIOilmf511swDZU8Qk74qgWKC4xKQmksutQ=; b=nSiSuFJ/WDTMwEf1ENxwCLqnIjt95N/eRufEfeG5FyotUb+kJSqMgsIQ0Af9zo2U8ApINO 2GbTzVKyOBSh6Q7nRt3S9/npMB7MXoNCyGP5NGbKvrFc4OTwLtijIXvOLrga7UjUzSa3ku gnPRCvQWia9ZR8jmRxGEzi0knScRvXw= ARC-Authentication-Results: i=1; imf29.hostedemail.com; dkim=pass header.d=google.com header.s=20230601 header.b=BrS86Dbt; dmarc=pass (policy=reject) header.from=google.com; spf=pass (imf29.hostedemail.com: domain of 3_FYDZgYKCO0hjgTcQVddVaT.RdbaXcjm-bbZkPRZ.dgV@flex--surenb.bounces.google.com designates 209.85.219.201 as permitted sender) smtp.mailfrom=3_FYDZgYKCO0hjgTcQVddVaT.RdbaXcjm-bbZkPRZ.dgV@flex--surenb.bounces.google.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1711494909; a=rsa-sha256; cv=none; b=5QC+0fIsuTrAAwWbZo506rr38gWU2NVv4edGQGCi8J/l1A58Mn0srEI/o7cP3JQf+3xKPG pjOb65fd9fxEfwiPKyk6pLXIP90imey1P+2G1bKfoqbOweJEdX6ZXTTAape1t0XQeKp4/X fYQ0//W5Nf+UmBIREneACMNevBKskY0= Received: by mail-yb1-f201.google.com with SMTP id 3f1490d57ef6-dc647f65573so10977175276.2 for ; Tue, 26 Mar 2024 16:15:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1711494908; x=1712099708; 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=iJNXXwIfWIOilmf511swDZU8Qk74qgWKC4xKQmksutQ=; b=BrS86DbtFNQNRqk0OOtbZaIaVYLRNiE5rD7OIRD7Tb0AoTjdQIxdUuEs+JZ/ZGmYjz eO7PyZgPb3h/qpG5bJjqyZcC9z+hRaL3KH/TLcNpUeDo60CA8jPRfZpVgIaeA6NDQhcy TeB1wK+M1MJQeOAIzkYRbOe2jSjsp2+jjWYfpnxxJJT9V+7SK5VXyN61Y6Cb6oYf3HFw SMEswNCl3IRaTbHLAHdSsaY/BmxU8AliUwfGh/x6G4NGQbbs1up0d3v1TpmUU6JVBCY3 VC5Rm5LTw+6FMSgfEB15VYrdJe5RqYNuuk9Jm4iDR9fbUVYowmrqUeaCe3SwtMIY0WJL fJAw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711494908; x=1712099708; 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=iJNXXwIfWIOilmf511swDZU8Qk74qgWKC4xKQmksutQ=; b=kzCehMcVb3/lsKTZb8p8xXMv5NkCd3PGWDsaZOK4Di+jvhKIVHsz+/xSu4UsA+Kchq lP+fWOWYclzQrXeBBMGT31eeLTC/NR/NsP26SE5C+JBf/DSu6AqbZbpyMJzCdgwzQeq6 AAJDr3oY0K3zNq34dOv/WoWCiCQ9vD71ST7x10o0IU6j1MYMObc8JFJebalUpCrtL9jZ krtKIyUeJFTi2eX3ICYKNUmTnaCRO5EBD2u4a+pqkZZYf1tYm+2ZwKqjpKKmoL7+enwI urocCPrCFblprpo8DN4iABZrPUNIeWfGI3oLCguFc89OPj5idpRqGAgZzc1j6ebZ7STt zRCw== X-Forwarded-Encrypted: i=1; AJvYcCWnkwkVV2fJjV7giAijT7++GB6qcjUxDNLqyU6ass2nnCH+REC246p3VQXMHoFTYtGoZqk9VmnYD+ePt3JftYeZ6zI= X-Gm-Message-State: AOJu0YwAH1z0e4I1f44fGDdA3LjwQhqgUnBfbIzE7fpJ6HzNfbEExzr9 OASvPhcCeFjiXxC/yTfASnIZlaOvGkckhf5ZuD3pVz58JRd3m1VocdybhH7vFGjxKs19ZOFILdP w/w== X-Google-Smtp-Source: AGHT+IHEoaKEBsWwxbO1jgiLciNOYILWX/kr3OXU7eYFR8oe2h78U8w1/qkNR8huCRpwnRfRtdoPQg5B9JI= X-Received: from surenb-desktop.mtv.corp.google.com ([2620:15c:211:201:cef2:761:ad8:ed9a]) (user=surenb job=sendgmr) by 2002:a05:6902:1141:b0:dd9:3a6b:11f8 with SMTP id p1-20020a056902114100b00dd93a6b11f8mr3483289ybu.5.1711494908452; Tue, 26 Mar 2024 16:15:08 -0700 (PDT) Date: Tue, 26 Mar 2024 16:14:52 -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-7-surenb@google.com> Subject: [PATCH 6/6] Documentation: mm/slab: 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-Rspam-User: X-Rspamd-Server: rspam12 X-Rspamd-Queue-Id: 427BF12001F X-Stat-Signature: 4o14ocu9hc3dnbqj3956tjxkmmnyad3b X-HE-Tag: 1711494909-755461 X-HE-Meta: U2FsdGVkX19JaAQcTjVYUaodYIWqmNqxIqJvW9wiKXXKqcV2sunQWv6S93fOxd5tYnLer9t6nT3Tj6JjTkRjDNikGHE7pxDdXhGOzsr5uQkEpV2YYdmvvZ9eSawxTwgk0lMPCA6cQSv5gWx7T6kA/tJ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t2No7fo2mIbv8jz2CTSWRBO0bxS+yTSYo2lmV2hLh1lfcIy4hrDceLyXB8zfBgSronMiFElnz55AP8ZLmYLzYgew+V8yniOyzFOz/uvAroozJElAudbfUmtGAf7sHPlkj65Gr/zEQl61zLAbLc8+wMmWTbnUayAq7a9frdLYue2g3KfPlGpxwtzJL1Y2N8czDeecADES5R+p9rknbqo37UWE4vQg/mPF43Ux/X1kPG6J4imI2YDhF0fFf7PcMjZR4d+lc0QY5nfVWsKD9X67R2yQFnGQrSRXvsRuHmz8OS/pY7WZ/bcQe7QeOuRBx2HaT5eXJWWILbzx7GQZyYi3JgBRdfTatTWts2KGVoLirBo6wY5RSIS/FKjqYSey/oTAVFQavinbkWwwbr5Z5gYw6W/dzibQoADwJrzqDEMDxoPD/bR8VY5H3n7j6i3hwnPOA/uCezgI3LtoVDddkePuMUXnS39yA+Mf8u7Aa7sXuIUMAZWkIp4RpPNIGD9eATtr5UYSQ+MNCyKohl2phLmw0RW4= 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: bc7b83f5e4bf ("mm/slab: enable slab allocation tagging for kmalloc and friends") Signed-off-by: Suren Baghdasaryan Cc: linux-doc@vger.kernel.org Cc: Randy Dunlap Cc: Kent Overstreet --- mm/slub.c | 2 +- mm/util.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/mm/slub.c b/mm/slub.c index 7b68a3451eb9..be047279c9e9 100644 --- a/mm/slub.c +++ b/mm/slub.c @@ -4091,7 +4091,7 @@ void *kmem_cache_alloc_lru_noprof(struct kmem_cache *s, struct list_lru *lru, EXPORT_SYMBOL(kmem_cache_alloc_lru_noprof); /** - * kmem_cache_alloc_node_noprof - Allocate an object on the specified node + * kmem_cache_alloc_node - Allocate an object on the specified node * @s: The cache to allocate from. * @gfpflags: See kmalloc(). * @node: node number of the target node. diff --git a/mm/util.c b/mm/util.c index 73703d6cd3dc..a9e911b22b99 100644 --- a/mm/util.c +++ b/mm/util.c @@ -115,7 +115,7 @@ char *kstrndup(const char *s, size_t max, gfp_t gfp) EXPORT_SYMBOL(kstrndup); /** - * kmemdup_noprof - duplicate region of memory + * kmemdup - duplicate region of memory * * @src: memory region to duplicate * @len: memory region length @@ -594,7 +594,7 @@ unsigned long vm_mmap(struct file *file, unsigned long addr, EXPORT_SYMBOL(vm_mmap); /** - * kvmalloc_node_noprof - attempt to allocate physically contiguous memory, but upon + * kvmalloc_node - attempt to allocate physically contiguous memory, but upon * failure, fall back to non-contiguous (vmalloc) allocation. * @size: size of the request. * @flags: gfp mask for the allocation - must be compatible (superset) with GFP_KERNEL.