Received: by 2002:ab2:f03:0:b0:1ef:ffd0:ce49 with SMTP id i3csp104666lqf; Tue, 26 Mar 2024 16:15:34 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVOzlWmUJ0JrzEcRU04Mh5pjK+70JpcZ8GDCYiUlTxKR/UOFZwaXvhT/rUlxDV+WqbFoG2/B9QNeDN2RSL+IBlVbXedtxwfsFyVcW27Qw== X-Google-Smtp-Source: AGHT+IEnyVTbg27H6+RagANZUiVASC0ygOUXK7oezDvAPbcYlkhVpG74YLEvg9Mu7TbDG+DG0ogN X-Received: by 2002:a50:f695:0:b0:56b:d18b:dda6 with SMTP id d21-20020a50f695000000b0056bd18bdda6mr1047283edn.17.1711494934083; Tue, 26 Mar 2024 16:15:34 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711494934; cv=pass; d=google.com; s=arc-20160816; b=XRBO+aNEDtB+hVSCV2P3oTw0WOu2MB60V0y3EOxPF84asp0GedrDWn0FLM/+4Clvck DYB3lZ6faCNP+QFz45uhHN3E6BTwz7cbMjWtYenk8MLeW00bjIaNHFCMIC5IKIpJmXUL i8QGn3ntod8bdpf2hpCxLFMYQLJ+aOo5rMIrP8lKM2IAuIm3QeOux0ZuA+DX+NQWrpNW MKogsMXc2Z+JxKZTtifP2SxejtL2sAaEYVNh+dZlRrC4RdKmH/TVriWrXlz/UHkgIHPl okSUL8aW2x4IDaNhC3uiV3VUOllK4eWtbO+f9f3bnkH73QtYN7jZaeDYiKe4hqqMzWZB 3qGQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:from:subject:message-id:references:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:in-reply-to:date :dkim-signature; bh=fZ0AptqFbHaa8l5RVSul3P+vBeLsm0KpJ9iAetoEOwQ=; fh=XGdSZFZKvNKqlTHUzbFi/+5TVtpOLgM1l6ixh6EElvo=; b=D446V7gPgVurNseOg/v8RDmT2sLf0jVShAvDItdOtyZulOwvhNyqyFm/xGWCS7HpWD AFdexfVf8fIzkAa1lCAIgiQR21RspMSnSOhsWJjy2hxVqmroLD2cU/PmjWFTDT/WPpUx 3aWAal1EnBrtvVUV+G1x5jJCRJQx8fsTkuA8ytyUIU5+NRsDKd25LwHmT5sT5CFix2Fz 0wfyoB+9HUh6YPfTEK4N1DYhZLjQY979zW2Ir3sdbJD14kkfq+/PS7JNmWa5zd2qV2u+ zTpklcDP+PvnBYHsVRxtAoXtE6Vk2QSkVNqpUY3+foSyC5oBRNor/N0r6uWqM1u08ibn DR2g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=qXTLZkfP; arc=pass (i=1 spf=pass spfdomain=flex--surenb.bounces.google.com dkim=pass dkdomain=google.com dmarc=pass fromdomain=google.com); spf=pass (google.com: domain of linux-kernel+bounces-120127-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-120127-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id h17-20020a056402281100b0056bdda17589si4036687ede.345.2024.03.26.16.15.34 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Mar 2024 16:15:34 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-120127-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=qXTLZkfP; arc=pass (i=1 spf=pass spfdomain=flex--surenb.bounces.google.com dkim=pass dkdomain=google.com dmarc=pass fromdomain=google.com); spf=pass (google.com: domain of linux-kernel+bounces-120127-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-120127-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 9FD861F3D25C for ; Tue, 26 Mar 2024 23:15:33 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9938C13E41A; Tue, 26 Mar 2024 23:15:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="qXTLZkfP" Received: from mail-yw1-f202.google.com (mail-yw1-f202.google.com [209.85.128.202]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2259D13E038 for ; Tue, 26 Mar 2024 23:15:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.202 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711494902; cv=none; b=FDVj0ZtaH3Q5WT3bnkgRKlqiT0zILs6b00kR58e7dRr/vqk0DCKlVNG5Lu61MAbiDS7qBxrNAymIp+RJLdL4JMvxJ147W5rPeVv9b6Pqtsk+33xo6p3BWsz2EJaPunlrcqfrSTCj7iReKbwQxB1EKufMMqOmo6VUnE6oEB72J6c= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711494902; c=relaxed/simple; bh=xEHMysv+AfGCb1V+L20YYqzei2G1GyDnYE4/axORCik=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=W8VsRUT+/mATVJqzLA7b3AZ/QYsZZbvJZwsDROx2f8YwXyFeZ8PlTTSIsuW9ROcWxSC6PpjBFiBgh5clThjQarQhkkX76nn+6YAx8A2+3TRRgCwJI+3Fhir9klboXxa/jgPOrEbn7ThnjrzO3X2eSA+lD0Crnpgo1NFKDkHXiZI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com; spf=pass smtp.mailfrom=flex--surenb.bounces.google.com; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b=qXTLZkfP; arc=none smtp.client-ip=209.85.128.202 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=flex--surenb.bounces.google.com Received: by mail-yw1-f202.google.com with SMTP id 00721157ae682-60cc8d4e1a4so108345457b3.3 for ; Tue, 26 Mar 2024 16:15:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1711494900; x=1712099700; darn=vger.kernel.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=fZ0AptqFbHaa8l5RVSul3P+vBeLsm0KpJ9iAetoEOwQ=; b=qXTLZkfPFFJ8e4a5qXi6yvWBsCRy+oXhr9R6DHghyr1oD20Khlkrw8IOkU+kGFBxur Q9k5V5I7JRtTlrIMN22qksqggseEAABGTVJUTWbP7SnhpGrEYaUd2DRh/nsA5RkD84Y6 vZtj1MiCD9Iqqaq4tEv1JNVK9FZaN8ZpJTiaNcRXGHPhMeM3pIOy9+D3wYR/4+dL8DYH wivvGvTltVhUGqFNDGnHfooK8iINiIcQURRaua9k6Jn18wwVNGHe7d/b7iWFhd3N+Vm+ kNE8kwYNcrJKsAc0EadLmD7OoSIygeGJftVxUC8E3tKtMp6oLoiXAdXigbmvVxASslfj oFIg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711494900; x=1712099700; 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=fZ0AptqFbHaa8l5RVSul3P+vBeLsm0KpJ9iAetoEOwQ=; b=qsBw67rOu5KAjQUo68MQ9k0u65lgvliALJ9hrTY2ZMxLiVw35n6+4jxoNtoBHoh+UI DoR93sAzzHGAoOoqYDNSqdn0V77koRYwREfiz09pOxaqG/T1QMC67wIiaG88rUoMiX9A uWUawz/dMnptz1IF7a/FmKnJPUHi3gXlM273tfQkfALDZr1i1K4rOXORTWuV8DTtcwZa QZ3zkPBFw37Y4WvJRNBN+TUfD2XqeXe+Ws0zsu2jdagqgtlztdOs37C87DI0ilFtE8nx QFvegIyCFYAohtrLAO4LCj5GAKopUC6LJGE/p7UOVn1JLMKR825SjQ1r9kRrzl0sC7Xy yszg== X-Forwarded-Encrypted: i=1; AJvYcCXZEU2ll7F51hHL1rVs2A24+FxrQN87c+VQvUFjZExIgK/SfZTsB16OxjtPvwR3hkvAwk7BFspbRRB+TEpIah9MGivMiKcwwsglumAp X-Gm-Message-State: AOJu0YwOMz43AyDGXURLcdDumlBhCDLg4jriGc8AiXBCEMap4ehCAmb2 y6Dcabwy3KzHQUa926gTZkyUX91WI5q2OgZsNC53DLRx/MSdoxPsvHVK06muotQJINxm98L0cjK P+w== 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:1207:b0:dc9:c54e:c5eb with SMTP id s7-20020a056902120700b00dc9c54ec5ebmr3468134ybu.7.1711494900028; Tue, 26 Mar 2024 16:15:00 -0700 (PDT) Date: Tue, 26 Mar 2024 16:14:48 -0700 In-Reply-To: <20240326231453.1206227-1-surenb@google.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: 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-3-surenb@google.com> Subject: [PATCH 2/6] Documentation: mm: 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 Content-Type: text/plain; charset="UTF-8" With kernel-doc script change to handle xyz_noprof() names, the previous documentation changes and not needed anymore. Fixes: 6522e08ac1c6 ("mm: enable page allocation tagging") Signed-off-by: Suren Baghdasaryan Cc: linux-doc@vger.kernel.org Cc: Randy Dunlap Cc: Kent Overstreet --- mm/mempolicy.c | 6 +++--- mm/page_alloc.c | 8 ++++---- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/mm/mempolicy.c b/mm/mempolicy.c index 3fae74b62c51..913cff5da5a3 100644 --- a/mm/mempolicy.c +++ b/mm/mempolicy.c @@ -2209,7 +2209,7 @@ static struct page *alloc_pages_preferred_many(gfp_t gfp, unsigned int order, } /** - * alloc_pages_mpol_noprof - Allocate pages according to NUMA mempolicy. + * alloc_pages_mpol - Allocate pages according to NUMA mempolicy. * @gfp: GFP flags. * @order: Order of the page allocation. * @pol: Pointer to the NUMA mempolicy. @@ -2278,7 +2278,7 @@ struct page *alloc_pages_mpol_noprof(gfp_t gfp, unsigned int order, } /** - * vma_alloc_folio_noprof - Allocate a folio for a VMA. + * vma_alloc_folio - Allocate a folio for a VMA. * @gfp: GFP flags. * @order: Order of the folio. * @vma: Pointer to VMA. @@ -2309,7 +2309,7 @@ struct folio *vma_alloc_folio_noprof(gfp_t gfp, int order, struct vm_area_struct EXPORT_SYMBOL(vma_alloc_folio_noprof); /** - * alloc_pages_noprof - Allocate pages. + * alloc_pages - Allocate pages. * @gfp: GFP flags. * @order: Power of two of number of pages to allocate. * diff --git a/mm/page_alloc.c b/mm/page_alloc.c index 370ea1711828..8cdb8cc2958e 100644 --- a/mm/page_alloc.c +++ b/mm/page_alloc.c @@ -4973,7 +4973,7 @@ static void *make_alloc_exact(unsigned long addr, unsigned int order, } /** - * alloc_pages_exact_noprof - allocate an exact number physically-contiguous pages. + * alloc_pages_exact - allocate an exact number physically-contiguous pages. * @size: the number of bytes to allocate * @gfp_mask: GFP flags for the allocation, must not contain __GFP_COMP * @@ -5001,7 +5001,7 @@ void *alloc_pages_exact_noprof(size_t size, gfp_t gfp_mask) EXPORT_SYMBOL(alloc_pages_exact_noprof); /** - * alloc_pages_exact_nid_noprof - allocate an exact number of physically-contiguous + * alloc_pages_exact_nid - allocate an exact number of physically-contiguous * pages on a node. * @nid: the preferred node ID where memory should be allocated * @size: the number of bytes to allocate @@ -6458,7 +6458,7 @@ int __alloc_contig_migrate_range(struct compact_control *cc, } /** - * alloc_contig_range_noprof() -- tries to allocate given range of pages + * alloc_contig_range() -- tries to allocate given range of pages * @start: start PFN to allocate * @end: one-past-the-last PFN to allocate * @migratetype: migratetype of the underlying pageblocks (either @@ -6622,7 +6622,7 @@ static bool zone_spans_last_pfn(const struct zone *zone, } /** - * alloc_contig_pages_noprof() -- tries to find and allocate contiguous range of pages + * alloc_contig_pages() -- tries to find and allocate contiguous range of pages * @nr_pages: Number of contiguous pages to allocate * @gfp_mask: GFP mask to limit search and used during compaction * @nid: Target node -- 2.44.0.396.g6e790dbe36-goog