From nobody Sun Feb 8 06:00:04 2026 Received: from mail-yb1-f201.google.com (mail-yb1-f201.google.com [209.85.219.201]) (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 019D013DDAC for ; Tue, 26 Mar 2024 23:14:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.219.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711494900; cv=none; b=apDx8kgen8eBV6vK/Cv9qHc8Jkm1ljiWi5kgSPwaIL8b0IP8XOBaP3QeI13zooqlvGckXYCL4eCtTgx5TADj8QuE6PcoVDga+LZChsF7s/P1kK+4kwCGRZhsh83kBM2k7jOSehVidKR24nfp9mCju8t3/WLak0uWbuXkSADmJmA= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711494900; c=relaxed/simple; bh=NzgIE1Rh/KOBzAQ73H3jelY8pZu994zjvj10N12XaqU=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=sk+eCMulz4HXwp3ANjW8uA5PpzBYckMZ19kgcJ0EG6Q1NktuXARnskv1gmQSaOdweeQRbySkJT/zzNrSyfzGRcQu/Aq/nUmcspcfIwJCu/GoCY+z3gGOPflwrYn0rubaqYBzWTiFg+EZMM24zXI89E3QhhzO6EMGgIFRoWGKxzo= 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=UY2wN5Jq; arc=none smtp.client-ip=209.85.219.201 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="UY2wN5Jq" Received: by mail-yb1-f201.google.com with SMTP id 3f1490d57ef6-dd8e82dd47eso8403533276.2 for ; Tue, 26 Mar 2024 16:14:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1711494898; x=1712099698; 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=c2odR+gvA8sNOrt3e0IxQU+kOy08wVxcx+crcuSd5WY=; b=UY2wN5JqrC2yw8HwpS80Y4xVE6Il1n9pAhSFKhWuTIwkA340KTr6+kIs7vTKNAKvr/ ZvfblRcqFmzGsTkjdxHc22p7Vcbpvf/ubbPYYLtlQQVyoGeoPFi5WjCCR42vImekVjnp rEM3QI174Zzqt3IYLZhqRH9OPeXzKxBZfwJL5HfuXslopQJInrDdJZiH4eLp4Piib1Ne TcbTRZJdpVur081KoaV43X/f0K8jN9F1Jm/jBjeKmHsUtIZronM+bAd1XXg5WbaSNBP9 D2y4+tL3Be2MUUWdP8SGYHa41PgaDcLgowoVMXTL5rLRfuTEaxPj0ArVT5I9dinVyVJj tWlw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711494898; x=1712099698; 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=c2odR+gvA8sNOrt3e0IxQU+kOy08wVxcx+crcuSd5WY=; b=VDND2+RBdkpChlIjtxb2Rn9iQaRccq18Nlpf/NW5rXvOdArnslx2F/Jw27lFh6WXVJ mYSrjJKpyXyYgQnnXt90UgHfi6xStpwYpGA12JoQGLWOnhal+WQpTc+tASZGM8EySqIX Jz8HAnhy1Bu6DoJ2eWpfmfznWDAV6w9gMbZs4OPpbGbKW0Q6FdNkPdafAzjZeb+lsDD/ 9hQ13M+xdLPKjOXM2OSKsTUZjfrbEmYLl3+gvV5uejqup+4NS9vBpGqgYszadshWBgJM 9gDXAccCL5AEhMiFJklT2wjqAnINqqxnVuXqGAuidwg2NfDxMUprHFnyq9BsqQE64a96 jV9g== X-Forwarded-Encrypted: i=1; AJvYcCXiCyQbox83BGgD2kqDPu8mgMdmdhQk6HkLNASmy7sqvcyJy4wcHHnRQCzqyNGFZt5VIltXO4rYfkcBhFQH681IXK2jvS8NR+EF9KOq X-Gm-Message-State: AOJu0YzxwOo56L6+48Nfd6su1aiq7LKlUiqEbyRcuMR+PYxePWKhjU15 4zrwdoH/ciSir4gX10fMMNo9SWUMLQrrYSD+Y1hjWct59epq7b918tXWNNhQRel6w81v4PYyupM o2g== X-Google-Smtp-Source: AGHT+IFHYkY4cIWeIG5C7L3cVtTLvopmfj6ciQBc+eUr6sGVUl9PkI+oKLP5GmybkNhRmxFsc0JGuY8yjgo= 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:150a:b0:dc7:82ba:ba6e with SMTP id q10-20020a056902150a00b00dc782baba6emr629440ybu.7.1711494898139; Tue, 26 Mar 2024 16:14:58 -0700 (PDT) Date: Tue, 26 Mar 2024 16:14:47 -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-2-surenb@google.com> Subject: [PATCH 1/6] Documentation: rhashtable: 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-Transfer-Encoding: quoted-printable 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: 11c91be0e244 ("rhashtable: plumb through alloc tag") Signed-off-by: Suren Baghdasaryan Cc: linux-doc@vger.kernel.org Cc: Randy Dunlap Cc: Kent Overstreet Tested-by: Randy Dunlap --- lib/rhashtable.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/rhashtable.c b/lib/rhashtable.c index 35d841cf2b43..dbbed19f8fff 100644 --- a/lib/rhashtable.c +++ b/lib/rhashtable.c @@ -979,7 +979,7 @@ static u32 rhashtable_jhash2(const void *key, u32 lengt= h, u32 seed) } =20 /** - * rhashtable_init_noprof - initialize a new hash table + * rhashtable_init - initialize a new hash table * @ht: hash table to be initialized * @params: configuration parameters * @@ -1085,13 +1085,13 @@ int rhashtable_init_noprof(struct rhashtable *ht, EXPORT_SYMBOL_GPL(rhashtable_init_noprof); =20 /** - * rhltable_init_noprof - initialize a new hash list table + * rhltable_init - initialize a new hash list table * @hlt: hash list table to be initialized * @params: configuration parameters * * Initializes a new hash list table. * - * See documentation for rhashtable_init_noprof. + * See documentation for rhashtable_init. */ int rhltable_init_noprof(struct rhltable *hlt, const struct rhashtable_par= ams *params) { --=20 2.44.0.396.g6e790dbe36-goog From nobody Sun Feb 8 06:00:04 2026 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="qXTLZkfP" 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-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> 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-Transfer-Encoding: quoted-printable 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 Tested-by: Randy Dunlap --- 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, } =20 /** - * 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, unsig= ned int order, } =20 /** - * 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 o= rder, struct vm_area_struct EXPORT_SYMBOL(vma_alloc_folio_noprof); =20 /** - * 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, uns= igned int order, } =20 /** - * alloc_pages_exact_noprof - allocate an exact number physically-contiguo= us pages. + * alloc_pages_exact - allocate an exact number physically-contiguous page= s. * @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); =20 /** - * alloc_pages_exact_nid_noprof - allocate an exact number of physically-c= ontiguous + * alloc_pages_exact_nid - allocate an exact number of physically-contiguo= us * 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_contr= ol *cc, } =20 /** - * 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 *zo= ne, } =20 /** - * alloc_contig_pages_noprof() -- tries to find and allocate contiguous ra= nge 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 --=20 2.44.0.396.g6e790dbe36-goog From nobody Sun Feb 8 06:00:04 2026 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 446E913E40D for ; Tue, 26 Mar 2024 23:15:02 +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=1711494904; cv=none; b=Oefh8pVxKsh2WjG9sgTzBljT30x8SNo0pGF/e7Nx5c4ZwLFA2SF3M41b6k8wPATponCqGblE9fq31Ed+0dC0FERLhIqvgUUKzUhWaOx0qgqMmg3TNwGaeAEt8BD5sf2k3lRTNphtUeXHutDW4EJ3gB0EzUO5Mqdo6H0Sv9IZGxU= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711494904; c=relaxed/simple; bh=K/Haww6ZkDCiv4hHYW13vR+vxYOjNYf1Vh9vwwpPIEg=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=jS0iru5EdUqCIJ+0BU3Gea/bxWJsxkL08s/dvAnoXuuGpfy0srVPEy7SJRcPWqOGDXitT/1ITe32OMfaFiLy3sEY4srDrt4kH/4gjFvDfjR5GtY0wb5yRIrtAt3MC+bRFwvoIk1QMFqeiyOkQog4wmBb3Tarp77HZWtNEKodWdY= 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=SfUX7aQB; 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="SfUX7aQB" Received: by mail-yw1-f202.google.com with SMTP id 00721157ae682-60cd041665bso112693287b3.0 for ; Tue, 26 Mar 2024 16:15:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1711494902; x=1712099702; 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=kNPrBtsuBxYoCga3hg7dsxkL5n71oRPjdq2Ff7FyuGU=; b=SfUX7aQBkFisZYvPHaIlbBlDVhXjrtkigwNDZWL5DkOWkZQD61GON37T7o8zRMPp0i tapAJAY6ODwIJcgaR/Qulscc+iz1JAv9Qo6FnTkX45H90HvaM2+Vba6VxFoCFZYq+URs mqg+vqFNewuAJ6OYbOFeOKE5RHJAvudzPam9yzo328Nweqj5CxeS0iIB+zVYW38UPBVA ZRCCkSQ90Xb/dcMdV4owUxiGAw0GeyyScY8qsqJNfm5RC6jlq7Yymh0/Tv8DNWSZfptX uQbmXfqKIri8xa7ipZzqKZQwkb8zv89LUuXh+CriH3qpLpdBkpVzzf6+W7EruylkWI4k rSiw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711494902; x=1712099702; 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=kNPrBtsuBxYoCga3hg7dsxkL5n71oRPjdq2Ff7FyuGU=; b=ITToEXX/Yc27aOBKmPCzgvej0/dQzbqww9G+iEFUqqEowY3XC01pHbS6m4rRUM/b5G CRXVSMGyLYPLwShQi9PMtVehumiLc3+ql1x3vZPb4ytFCS7Jtzc1xcC4nu06sgdnwddb kH1U0tmKTLioTeHpHCNAH3TtihjCsNwA/poRrXIgzideXVzuKcw4eYkaozg5YZqD8CpT Iu+COyKaXl84ajkBsWApJGsu6MKMGdhcfXxkz6MlK4fLGH4sy/gpHwz8HZZ8JMYjgkQn gpNtDpygfcJVMb5oJp7Okd9rnX2AJxOs8ts/2mMtc2vgB1Sb0uiLnB7zKcARH7LjNUok HkrA== X-Forwarded-Encrypted: i=1; AJvYcCVmxtNCo557Orv9rBVERzXQmQZfRQqGQVr7U8H3fOsv66KPSPVRrdtjGIHTOoz0qTFUMRsz3Oha5Om+S9E1Un53lAiSlMxiVKC/FzCR X-Gm-Message-State: AOJu0Yw1MHvSCp7LTX0ZAAqk/1TA+0svcl4CcTMtTqj0pJ+tLFsDc45i VxRdyJGNiSW3KNAWXCy1cXFX2Ylv9bfk+JY5zoKZC48I14/lsXsmPh5qCNJz/05OgEypZBql8UG v8g== X-Google-Smtp-Source: AGHT+IEFpm0+0XVVGFx4jqfgVrxVNTvceJn+pxqS2nttVFrZvKzj/QKeYmY7MqyITw9teVftPomx36l4W78= X-Received: from surenb-desktop.mtv.corp.google.com ([2620:15c:211:201:cef2:761:ad8:ed9a]) (user=surenb job=sendgmr) by 2002:a0d:ea41:0:b0:609:4293:6a9b with SMTP id t62-20020a0dea41000000b0060942936a9bmr2737532ywe.9.1711494902234; Tue, 26 Mar 2024 16:15:02 -0700 (PDT) Date: Tue, 26 Mar 2024 16:14:49 -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-4-surenb@google.com> Subject: [PATCH 3/6] Documentation: mempool: 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-Transfer-Encoding: quoted-printable 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: 01d3a2ac5e7f ("mempool: hook up to memory allocation profiling") Signed-off-by: Suren Baghdasaryan Cc: linux-doc@vger.kernel.org Cc: Randy Dunlap Cc: Kent Overstreet Tested-by: Randy Dunlap --- mm/mempool.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mm/mempool.c b/mm/mempool.c index 602e6eba68d3..63d4e3778bbd 100644 --- a/mm/mempool.c +++ b/mm/mempool.c @@ -366,7 +366,7 @@ int mempool_resize(mempool_t *pool, int new_min_nr) EXPORT_SYMBOL(mempool_resize); =20 /** - * mempool_alloc_noprof - allocate an element from a specific memory pool + * mempool_alloc - allocate an element from a specific memory pool * @pool: pointer to the memory pool which was allocated via * mempool_create(). * @gfp_mask: the usual allocation bitmask. --=20 2.44.0.396.g6e790dbe36-goog From nobody Sun Feb 8 06:00:04 2026 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 1879B13E6BE for ; Tue, 26 Mar 2024 23:15:05 +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=1711494906; cv=none; b=HGzut8t7xWxwv/Ct7EH9v1cCU2BEJ2Mw6wYC/lpdJ0zO9I0OsUVlXrRlGGOOKSdjB74DGJ47/tr3ObJVoCqK3XuYTTOyANtMqJTjWWcSqP8sXA4X9yT92vPek86qil/rYD7Om9HrKyfhWmid/1AFnRrgxHucLHotCmbw+mzk95Q= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711494906; c=relaxed/simple; bh=lFeEUshSx6B71Hh+t+eI0HFSWvBQ0JmDWE2YRzMmt+o=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=u8uj0CsGxESV96WpCeUzD0lnKUYbCxOn40D713SsGtmtPEhqAYKTQBn8gwO7WTzBr8Jz6PK8dkLiM2iagav5HVOPdHJnI5X8hnJ0fplI/Nd5u4Ds7mHh7BS7ktP9A5c1Vn7cpI8NHphD7yALE+WGF+YfNoZhiNU74QKjpwlzoIk= 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=yA7u+qOR; 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="yA7u+qOR" Received: by mail-yw1-f202.google.com with SMTP id 00721157ae682-60cbba6f571so111623877b3.1 for ; Tue, 26 Mar 2024 16:15:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1711494904; x=1712099704; 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=Z1zpMAHTkJIGxVEr35nJnrD/WTFtttLl1QenMrHbBG0=; b=yA7u+qORsbvLot4y2I9zIk9G1tqDE5f7ha/ncbgCdyWY/We3bIRFFnFQlAG2+XBbbv /LGDtWtVzM0nHZ4NabK2xPA64RCbgNlHYSOzZgDDCX937eXC4nIBpKPVjKLxOmc7NQNC MRbT5wJuicbFTO1ryWxWTcd+6/WlRgw+O6WUb3mYhkPEKHQgcwkefVqMjWL+WLZZw06Q u4FmS3vXAtUc0PoK1vl6wamjw5jP8TNqxe4pqQNrmjE12JOQEvdiEgYxwTCNLtcL2Inj uhfniA8UeAMeLI8wPxDGYhyc1+sRWjwPSO4Opc3xMrz73veExgWSJxVPRsPbljfc+bXN Tc7g== 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=dt6e4Ug0OJldij0T0sbpf34a7TnPp1K0u1Y5AbzuP0CWnMocmQwrrYQHYxOKBEGxyF OGQoJ2YHoDZTvcf4ulqvlFfaHufoKeGxOJyp3SX7LX1JSFX6eZZIKOM2JVWhLhynvDJV AsBh3gQzpAb2PPa1TNe15RuiKtmKnZRMql6X7pEnTx4aem8P2W/fr6XyssQU1LpUzO1e ee+11R2ffGJW93rhYM4ps9IbE3jWL2IhoGg6iOuqyQf/YAY66wmEq5FtAnx+871BMNQM DLMO5+VpuIFKDHGKd+npdlbh3UunGglh3gz+2GsalpVCILVh1orIb5SZeRyUhR81TjW2 A1UA== X-Forwarded-Encrypted: i=1; AJvYcCVos8MRyf1wthvoGe4ogQikl2gNYttnmkghU63liGDDrRNUCQsv6pacwd/Wa5LVxiR0qUi434T2Zj7RHegOI/cd++Ztl4D32qEYfGtR X-Gm-Message-State: AOJu0YyrwKrqaBjGUjpDe+JaZwNcDCWh+jgXXHc0YGpFw/HaEoL58SYh oZ4qGL79o+mHR/Zvja43bRUN5xsbFrkvGgOWwQy6Pv8MHy0m/g9NOyGYPKXtEaARsxAE1uiTtOC xHA== 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> 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-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 Content-Transfer-Encoding: quoted-printable 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: ed49858097c1 ("mm: vmalloc: enable memory allocation profiling") Signed-off-by: Suren Baghdasaryan Cc: linux-doc@vger.kernel.org Cc: Randy Dunlap Cc: Kent Overstreet Tested-by: Randy Dunlap --- 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); =20 /** - * 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); =20 /** - * 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); =20 /** - * vmalloc_32_noprof - allocate virtually contiguous memory (32bit addre= ssable) + * 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); =20 /** - * vmalloc_32_user_noprof - allocate zeroed virtually contiguous 32bit mem= ory + * 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, s= ize_t newsize, gfp_t flag EXPORT_SYMBOL(kvrealloc_noprof); =20 /** - * __vmalloc_array_noprof - allocate memory for a virtually contiguous arr= ay. + * __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); =20 /** - * 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 fla= gs) EXPORT_SYMBOL(__vcalloc_noprof); =20 /** - * vcalloc_noprof - allocate and zero memory for a virtually contiguous ar= ray. + * 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 *ar= ea, gfp_t gfp_mask, } =20 /** - * __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, } =20 /** - * __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 g= fp_mask) EXPORT_SYMBOL_GPL(vmalloc_huge_noprof); =20 /** - * 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); =20 /** - * 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 nod= e) EXPORT_SYMBOL(vmalloc_node_noprof); =20 /** - * 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 =20 /** - * vmalloc_32_noprof - allocate virtually contiguous memory (32bit address= able) + * 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); =20 /** - * vmalloc_32_user_noprof - allocate zeroed virtually contiguous 32bit mem= ory + * 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 --=20 2.44.0.396.g6e790dbe36-goog From nobody Sun Feb 8 06:00:04 2026 Received: from mail-yw1-f201.google.com (mail-yw1-f201.google.com [209.85.128.201]) (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 F242C13E888 for ; Tue, 26 Mar 2024 23:15:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711494908; cv=none; b=U3lpNxuKiYtF5LaSNxtAEEqDRotzgZXFBogAjGdoRR4CJQ7CtO7uXnppwBBAzUILAG2NligON8Tj+eRPd0Z+ADk2lg8/fXkPP8TDUDAJjQLmkGvSkwN8UwEivcQRE3Qx5rX9xKUKRszWYPFjkq1p7EZ0Fp1ZZU/xC65sNMmhj74= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711494908; c=relaxed/simple; bh=HbJgaS7gzZEz1vcQZs5xP6L0oBbDSnuM2uCN/FSokC8=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=PzXy8j/ZtI5gNFNzKYah2/bCbQtvKbZQ0NT7r7wXc40Koops4pf6r7KKVmyi385I4PVNgGiwye/gNqPvUTIYDVrYIjYNMwxfMMDlSH4/olsUB6C1BohBoFaxJZLUlVcgFAkK+eUzjQ3qYTpWbj+W3ikVp93U/TGEJ4vjoO+kTdY= 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=dxIOQJOi; arc=none smtp.client-ip=209.85.128.201 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="dxIOQJOi" Received: by mail-yw1-f201.google.com with SMTP id 00721157ae682-60a2b53b99eso110845537b3.3 for ; Tue, 26 Mar 2024 16:15:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1711494906; x=1712099706; 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=8+F+6usxqDQhF/mNYRky7Fdiwo1Edv3mXCHc/EHtaoE=; b=dxIOQJOiDuB+UbNPSzKPL9+ViSXOVFVV7KnXIwfo4FAJqk1zJtnBL3XSps+ornbGlz 80i0r9sgavlBPC9nHFR8klwcTBsMs6Y8DmpZRdt74XiIDWsUEZWm7lOaBCQqX2j84f2M zWl544Vh/SLfbIR3qFRMUH6wvRTo5VP0+vNh+qj5db6zooAcP4aMpMxna/CsPwNYBd0H dG9Wa84IsIzMTohScwIlJIqjdSTiIpAzdm6Ah+/Lxz0tuKiBJqUSH0WjYzGCZWa1G9fp JY/h6LQ1FGP5E76aG4P7PqmcDRCjaGPGnVyaX8sNGj2Un8Q+xUF2u9em8D/2/+wONfqc 8fig== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711494906; x=1712099706; 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=8+F+6usxqDQhF/mNYRky7Fdiwo1Edv3mXCHc/EHtaoE=; b=h+3BmGD+0v4bkM2xfxkU5O6jO+wcxbsHn0bmyj/UBJn/JPS0aB/ZMKHyvIOjYGNLfc R9+SCueUL2Z527P6BXgk1GSI+VFvRcSIInVTeuGmcN6uwqncayNzOadmpW2TETYUJzub ZuHsQ+X9Kn4CkJPrZhwg6B/z/LQ85SqslSiwWa+4jLmWLZjZYE3qKeL7hvI+TL1apoHp 4OOBlZLjntW7HjBFhBXc/im7GUgLUL4zbuB4js0Wqgew4Qa24hQd+HZ3HxH8NzxqLTs6 11O1pFfShGu5p6Owc3N+H24bo4HQh9SjF3VaCP/o1eH+v0n6hvnF60vmHrgtGQYDSszi TZ5w== X-Forwarded-Encrypted: i=1; AJvYcCXEub4zLjczx8rVCqI2lqGbjGHp/4d1gtcvlvuF5sq43oDkqNlOk4iPROVtRv6YF9M7xG8V/66rj7Lo64ukplVONma1oCpO0kszj1Ws X-Gm-Message-State: AOJu0YxJve911pYh7BtTvEjBf/YTn0XfQv4aZd9FCnWCKoE6DeFlduqb u7jEyYfml8uFyt8e6pOUTDQQwK3jKzW6OVmq1QQFaJlwCUhfs+T7ZrHCmRaCeTEAflWYHqbZYQZ i5g== X-Google-Smtp-Source: AGHT+IEh1gX6lXyECJLY1fMCVWwqQ3VywgG+w8JbXje6jjWeQBputCgI/GB+VIFN+4ob3wSD6xLD2bTaduM= 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:1b07:b0:dda:eee6:8e52 with SMTP id eh7-20020a0569021b0700b00ddaeee68e52mr1314590ybb.7.1711494906302; Tue, 26 Mar 2024 16:15:06 -0700 (PDT) Date: Tue, 26 Mar 2024 16:14:51 -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-6-surenb@google.com> Subject: [PATCH 5/6] Documentation: mm: percpu: 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-Transfer-Encoding: quoted-printable 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: b3942167cb9f ("mm: percpu: enable per-cpu allocation tagging") Signed-off-by: Suren Baghdasaryan Cc: linux-doc@vger.kernel.org Cc: Randy Dunlap Cc: Kent Overstreet Tested-by: Randy Dunlap --- mm/percpu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mm/percpu.c b/mm/percpu.c index dd7eeb370134..474e3683b74d 100644 --- a/mm/percpu.c +++ b/mm/percpu.c @@ -1726,7 +1726,7 @@ static void pcpu_alloc_tag_free_hook(struct pcpu_chun= k *chunk, int off, size_t s #endif =20 /** - * pcpu_alloc_noprof - the percpu allocator + * pcpu_alloc - the percpu allocator * @size: size of area to allocate in bytes * @align: alignment of area (max PAGE_SIZE) * @reserved: allocate from the reserved chunk if available --=20 2.44.0.396.g6e790dbe36-goog From nobody Sun Feb 8 06:00:04 2026 Received: from mail-yb1-f201.google.com (mail-yb1-f201.google.com [209.85.219.201]) (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 63D0813DDCD for ; Tue, 26 Mar 2024 23:15:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.219.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711494911; cv=none; b=D0LAiYxp9qmMR70f5o4AScunhNTFWISYzwtQK4WdRDDhDj7c8PA89Zm172c8crPPUcomzhsVqhI8qhSN6CZAyLWeA+uXDIIh4YS1SAgp8tUqtU4j2wZMsKukmhoTbXcyrRw/v4+eg9K7Z10rMDDJa9KCi8gZ8LgEgMmO4LsGMsA= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711494911; c=relaxed/simple; bh=fyMrFp8V3YaU0ogcm5yJYQgEMev0swdNBsiWfJ44G44=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=nlPmijc1Yc6Her1fYDnoRViBfwSP18YzaGjLS4L+w/EsV34h/dUlsYMdEuT0Vg4GzjOXgAHIqA3qOH5wfSn/SG0GB5O5dV1UA5p4x+5JBY2odjeIYZJiVbe5AyfMpLbzZmg5auJG1YUpLLEsPyAmNUSK3tSPTE4vuG3H7ExFC08= 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=KRI8ogtn; arc=none smtp.client-ip=209.85.219.201 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="KRI8ogtn" Received: by mail-yb1-f201.google.com with SMTP id 3f1490d57ef6-dc647f65573so10977174276.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=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=iJNXXwIfWIOilmf511swDZU8Qk74qgWKC4xKQmksutQ=; b=KRI8ogtn7KiJBPhEXU/8qhTVR6Op3jeVF2+IBE9NmkesjFelaF3rP7hdRULyol54YA COmktwp4tF+INmC52WDsJdnArmMEPutOWzjJRxGjstmWpAjHU3/MdeeATRLZh1xBLhuH Yiyf/rMYFWh35LuCvqOuaGjLnzeQJqo2wBjx7K1Ic0GbWc3vCqk5puo2OBWRrnYE4XoM 72Rte15IS1Ddot9Dbl/c8dt5UmWvhuWC0JQ5g4gUkUYhgXOMcKz4IJk/Gvfu/RNp4435 vQSA878pAfu7m1FJe9yO8zVteoM8zBK6MSI4SWdV/V0szafI/0y9igVb0vEuzENM3VPg LUQg== 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=r9SM1bPnYK+FodUNv/2Aw/JJTjUMqQEQHrowMlU5I/+xy/4M6Gl9pGYIVxsORSuQKT DY7MT5GMOn5w1EsdMJhaMGbiPjyx8agDDuN2A0GBbA/o0ng4hsJ43zG3uFYrHBHECZ5P gI1PyyVQaTndsh/+/NL7kw9jfN1qGpt5ddL/OvmCZjqKMedaZEigsQ/jAzcHFdK2lkcL gokJXUf6wjSh6N43tonTRPob1zgxaNvDTHEcV4vEaHuvzhpBVny7EC/TW0Zj+M46D8C3 m6S6pwDDCdx1lCIdHJ3QWwbPJjZ/azV/7FlvYNlCh+KOXkEcTIaNklinLZKi71C2fDms lNvw== X-Forwarded-Encrypted: i=1; AJvYcCXR3AwZzWTIssPKfNp+3UewZeRhOKr8ULbIxdJ/+Zzcxdb/Q7q77YXLU+KV/ntBxq4LELyOSttxRHFQLhfCl0xTmd3JC5d7wYBvCQkt X-Gm-Message-State: AOJu0Yy5VAgEKvGK/L02/7//NIEy8fXcSROa6A8huORPXXLAi8xHygug qo6IpTGcl3LeP0i3mvnuJ7HHOKs+V9knYcM8GL1mbAgftP+M5aulvH9HSZjLel8KDdRcoCQBfPP gHQ== 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> 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-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 Content-Transfer-Encoding: quoted-printable 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: bc7b83f5e4bf ("mm/slab: enable slab allocation tagging for kmalloc a= nd friends") Signed-off-by: Suren Baghdasaryan Cc: linux-doc@vger.kernel.org Cc: Randy Dunlap Cc: Kent Overstreet Tested-by: Randy Dunlap --- 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); =20 /** - * 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); =20 /** - * 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); =20 /** - * kvmalloc_node_noprof - attempt to allocate physically contiguous memory= , but upon + * kvmalloc_node - attempt to allocate physically contiguous memory, but u= pon * failure, fall back to non-contiguous (vmalloc) allocation. * @size: size of the request. * @flags: gfp mask for the allocation - must be compatible (superset) wit= h GFP_KERNEL. --=20 2.44.0.396.g6e790dbe36-goog