From patchwork Tue Mar 26 23:14:48 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Suren Baghdasaryan X-Patchwork-Id: 13605340 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 69A70CD11DF for ; Tue, 26 Mar 2024 23:15:04 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 093D56B0093; Tue, 26 Mar 2024 19:15:03 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 01A7F6B0095; Tue, 26 Mar 2024 19:15:02 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id D133C6B0096; Tue, 26 Mar 2024 19:15:02 -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 B6E2E6B0093 for ; Tue, 26 Mar 2024 19:15:02 -0400 (EDT) Received: from smtpin25.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay06.hostedemail.com (Postfix) with ESMTP id 85104A1116 for ; Tue, 26 Mar 2024 23:15:02 +0000 (UTC) X-FDA: 81940747644.25.D6CE411 Received: from mail-yb1-f202.google.com (mail-yb1-f202.google.com [209.85.219.202]) by imf23.hostedemail.com (Postfix) with ESMTP id D680F14001A for ; Tue, 26 Mar 2024 23:15:00 +0000 (UTC) Authentication-Results: imf23.hostedemail.com; dkim=pass header.d=google.com header.s=20230601 header.b=0rs9j70M; spf=pass (imf23.hostedemail.com: domain of 39FYDZgYKCOUZbYLUINVVNSL.JVTSPUbe-TTRcHJR.VYN@flex--surenb.bounces.google.com designates 209.85.219.202 as permitted sender) smtp.mailfrom=39FYDZgYKCOUZbYLUINVVNSL.JVTSPUbe-TTRcHJR.VYN@flex--surenb.bounces.google.com; dmarc=pass (policy=reject) header.from=google.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1711494900; a=rsa-sha256; cv=none; b=qEg2yyljrnmkC+TQ/Dq3zREsFBv7qGRMYRKTs4hY3AlyJg7Djfb3jh4x/ivKWEK26PuKaS G852pRpL3cJ4egzvB+Hpm/sEW2/zElRKJrrf9DSCKwu6FSaaxgWeBND8gS8q0DtD6JTLr/ qYW6KUsLIHv5Dty3L7/iihdlWi6GFcw= ARC-Authentication-Results: i=1; imf23.hostedemail.com; dkim=pass header.d=google.com header.s=20230601 header.b=0rs9j70M; spf=pass (imf23.hostedemail.com: domain of 39FYDZgYKCOUZbYLUINVVNSL.JVTSPUbe-TTRcHJR.VYN@flex--surenb.bounces.google.com designates 209.85.219.202 as permitted sender) smtp.mailfrom=39FYDZgYKCOUZbYLUINVVNSL.JVTSPUbe-TTRcHJR.VYN@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=1711494900; 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=fZ0AptqFbHaa8l5RVSul3P+vBeLsm0KpJ9iAetoEOwQ=; b=PmReo5ej7QNEpRDY1bwrRZZPWzCRzxetnFZRWhEsFVKZBsk4Cere/Q8fQMVmLIjaXF68/M /+cNURZZ81Fs1YXjVqfzE/dQKcko+XX1NoiBi5KxRZesHLqIHnacLOM5EjdslylT1bjsjp +hJzlW2IJxcc4L5N/YUSf6xiXxEIZu8= Received: by mail-yb1-f202.google.com with SMTP id 3f1490d57ef6-dcd94cc48a1so9721070276.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=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=fZ0AptqFbHaa8l5RVSul3P+vBeLsm0KpJ9iAetoEOwQ=; b=0rs9j70MFUN5/0DWS+Ipeiqkvi4+AiIhEh6qJXQFh/kMhFlC5bQ/EzdtHKaBwJI68x wKdB8dbtOGRanJ8iL7i/0O7PUjyhWYTBS20fseKlbV+2CGebtmmLKdBCrafnvbVR4rP/ Ut61L86KPnjUWCP5ce5HUEshNKp8vN92Y/2abaV06onKcpqG+uBlwsgj+e7hGGhefwc1 rDXP95y6GQWUQrsl/jnc9hqr/ZuupqmQ1Ps6qOrgbB1wK1wr71kzaL4mqkQtmXwSYYO+ HVOZufLY60If2iw/mPS7ZrqcAqYOUkruai0hteLKDYTKNMB7j/UZqSvWQxxpDWrqu4lY JJUQ== 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=rpeZ9Aik7rvqZASmHQ32SSAlAdb4it/nBD6ea9EYDB3+pF2jVIWAvYjS54dhG0MxU8 8+2PGkwlXLqQx/6Acdjdot5zoSrQMCeru5GyhxWpmDrw41hm45x3+AmlhM3fYr7yKYal rww+DKB0Myn+VPQfMzFI6UFOZtZOP9zWfOLKuAhQ16q4E/TbLKhgT6scYB8pvTtOxD5w IzTgddI5TuAY0HmMxxRjPiMu9zsQ4b9nlez+WipAQZKbBFQ1EEGqV5kyFzTs5TiglYD9 rjGn8b/X6okN1e9yXvKvHN0RvZyD+2Ppmgc8qmzdjOg5wUZODRtC9MhQe/mwpvvC8H10 Q9bQ== X-Forwarded-Encrypted: i=1; AJvYcCVOpOtUfEjXHDLcUmESqkWKVS6nSygYV91rLjtngVqF13baxUlcXfL7cdZLcxQcYHjuM5XQ3RSneWpr5UOt2H8LA1Y= X-Gm-Message-State: AOJu0Yx4aZT133p0e2ljnWQ6J+naDVaMq08iq1iPoDrvAdJ2NmgkfJea 8sHw/XZuLwnEHBoFXEOS35tNQJyzQ2Fuv67uTpGEHZTgsJTM4v1WWYpJCNb2rDrn/O8A7FAOq8v A3A== X-Google-Smtp-Source: AGHT+IEA9Rpdukbz9+6xqwV8nMLm+iRqIPHJBT8MtBvx/AJB4VLaK2gBkpwd12G/n4lHvqZzK50RlqanDZA= 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> 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 X-Rspamd-Server: rspam08 X-Rspamd-Queue-Id: D680F14001A X-Stat-Signature: my8ewcq8q6oeoeeanrwcwmag3zq8jqip X-Rspam-User: X-HE-Tag: 1711494900-883540 X-HE-Meta: U2FsdGVkX18g/p0IlDtW48SHg9XakzZUQFkDo5vTdfzK8wMgHOmRdwzqY4xkBqniqFQp1cyYKSI6oLlnfXSRp7T/4NeqzXtrAMFZThFurhzQh4f8mFf/BXBf2CHyjGAuXxFMawjeleYM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6oyHDlALSvIyd5PEGaTIlpdnnk4BsQvzrOCwqAceS9Xpqam/CF0RW4Mi4agSywuFBsIMvfJ8Nao1ACOTromHGBWTWU7BBHGSqxh+bQa4HviD5bu5lEQlJKApkjhhqSu73m+qXZ5mzXxwbiD2HO5sEEy2PbOGvBUTJsfqiVJJM= 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: 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