From patchwork Tue Apr 2 18:08:35 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Suren Baghdasaryan X-Patchwork-Id: 13614458 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 9BCFDC6FD1F for ; Tue, 2 Apr 2024 18:08:43 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id E57FD6B0083; Tue, 2 Apr 2024 14:08:42 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id E08296B0088; Tue, 2 Apr 2024 14:08:42 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id CD0AD6B0089; Tue, 2 Apr 2024 14:08:42 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0016.hostedemail.com [216.40.44.16]) by kanga.kvack.org (Postfix) with ESMTP id B14EB6B0083 for ; Tue, 2 Apr 2024 14:08:42 -0400 (EDT) Received: from smtpin24.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay08.hostedemail.com (Postfix) with ESMTP id 6867214021E for ; Tue, 2 Apr 2024 18:08:42 +0000 (UTC) X-FDA: 81965377284.24.260465E Received: from mail-yw1-f202.google.com (mail-yw1-f202.google.com [209.85.128.202]) by imf28.hostedemail.com (Postfix) with ESMTP id BCD93C001E for ; Tue, 2 Apr 2024 18:08:39 +0000 (UTC) Authentication-Results: imf28.hostedemail.com; dkim=pass header.d=google.com header.s=20230601 header.b=K9qU+hiR; dmarc=pass (policy=reject) header.from=google.com; spf=pass (imf28.hostedemail.com: domain of 3pkkMZgYKCKETVSFOCHPPHMF.DPNMJOVY-NNLWBDL.PSH@flex--surenb.bounces.google.com designates 209.85.128.202 as permitted sender) smtp.mailfrom=3pkkMZgYKCKETVSFOCHPPHMF.DPNMJOVY-NNLWBDL.PSH@flex--surenb.bounces.google.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1712081319; 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: references:dkim-signature; bh=DgQmUs6HhPB39/8zfW/Zv0dW3hKDHFfzMOS/PR5/wFQ=; b=ALIZSys+Pyk3hGoMoQoPh2FkxpARgvyb7sQU++uBCFpQr6MbAHhskdPgU/5DLRdBgmO/ip +8HKC0X+RQ1+kPr5TDHQF38ozbMkmy2CIjIU3HEqXtR9ImXhg6GwbQELiXYdCRPq9+eldK QLT4PA+KmrxrytNEBJEdhAsbYELWIjM= ARC-Authentication-Results: i=1; imf28.hostedemail.com; dkim=pass header.d=google.com header.s=20230601 header.b=K9qU+hiR; dmarc=pass (policy=reject) header.from=google.com; spf=pass (imf28.hostedemail.com: domain of 3pkkMZgYKCKETVSFOCHPPHMF.DPNMJOVY-NNLWBDL.PSH@flex--surenb.bounces.google.com designates 209.85.128.202 as permitted sender) smtp.mailfrom=3pkkMZgYKCKETVSFOCHPPHMF.DPNMJOVY-NNLWBDL.PSH@flex--surenb.bounces.google.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1712081319; a=rsa-sha256; cv=none; b=7Zi0QixNmLDLUc23b/LrSV0FJ1uQr//fB5yxYxu4gH/XzT7s96teuRSlrP/3OKvS9/WNd+ fOA3sgeQAw3bCzeGjz04ahp65Se8kDLp68JxMYLMHxQd5powwUgUQ5xdJ/OjX+dGitH1Ak MGtOLjQPbyFQdv79//LM3JbcPZ/yav4= Received: by mail-yw1-f202.google.com with SMTP id 00721157ae682-609fe93b5cfso78248027b3.0 for ; Tue, 02 Apr 2024 11:08:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1712081319; x=1712686119; darn=kvack.org; h=cc:to:from:subject:message-id:mime-version:date:from:to:cc:subject :date:message-id:reply-to; bh=DgQmUs6HhPB39/8zfW/Zv0dW3hKDHFfzMOS/PR5/wFQ=; b=K9qU+hiRuv3rKuGi/3h6fqZMWUQi4iwOFHQX+F0GrtRDck6MlB0KG59+fJME7pSaTb G+SKnMBC8BBr7R4kqzJWJMHBtNL7MrHpet3gKcFXPg2UHjJFETo3fB/3z1gkALIN9B6h a/nR13HQsXcJ9orqNicHMmDEDzfYqqJRnheqL02MjTjgpcw2RuWv8TLhsSxuqge4CFfW 5sKJ9cwFwW9FIqVcTMa0+/SkUEVFKtER50t2nWed93dRH0bUnlNbJV1okRlL2A3otutY Xk6QEjzF86IsZF+kGqAJ0pmjGUGqO7r2vvNQ1hcam7KwZZo2nPC0Jcd9R2Ue2MIkZrdD p8Bg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712081319; x=1712686119; h=cc:to:from:subject:message-id:mime-version:date:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=DgQmUs6HhPB39/8zfW/Zv0dW3hKDHFfzMOS/PR5/wFQ=; b=nBH+aM1RFC7RfEUyIcjmipuj7o8MyQ9tuBWi1NMm5KvdRhEYxdByhSd2YIFzWOzvEr zUuUcfKfMcuEkdGqqp8sWZtSMf49UX3yzCbrtWVMUcguR/s1roG/2su1a+tGNTR+wMQS yckyHSk27vRdK2Xs66D2N0h9+OOzzCsalhkOo0d+bp6EHBXt8izUiiwdtNwZoYQ6ka6W bW8HcMLAugKrMI1Xw8Qfi1+9tz4lV9UIAIxhe03kNEX1REAR3ymf3aVp5yQpOeScLRlC GFnOo8h7mDrura8Mlyyfvy1X1PFCC/sNbKjkpLK9JZFvyPx58PffdaxzlfSd3yd15Lbu grjA== X-Forwarded-Encrypted: i=1; AJvYcCXL/v+klO5V/HzgDKPb5FLUndibj811F9EvIxtvyqJL1x6tOJ2At5mbRz0dMUGHudXSNBj4xmIjQQ361Cb47CkIwco= X-Gm-Message-State: AOJu0Yx8TokFOO8LMJHQ+/9SFSwDNDm6oEE/wcxZmu4FZFTPmc5YyHOz OBYlnIgwlwnHkFN46ZJzvOZfa2ggNDJTWWcMnXIHOmV1pLAKOTpTadv2juX0HxgYv5MvCsQQyaZ 5PQ== X-Google-Smtp-Source: AGHT+IGGv7DZZG+G95d+JpoihdeoHeoF13q18CEnx6sVaUBqbMNIOKCbzzB4wbYOoZHrUg+qy8rHvqYGjeE= X-Received: from surenb-desktop.mtv.corp.google.com ([2620:15c:211:201:61fa:96f4:c395:2882]) (user=surenb job=sendgmr) by 2002:a0d:d753:0:b0:615:1fe7:298d with SMTP id z80-20020a0dd753000000b006151fe7298dmr538853ywd.0.1712081318834; Tue, 02 Apr 2024 11:08:38 -0700 (PDT) Date: Tue, 2 Apr 2024 11:08:35 -0700 Mime-Version: 1.0 X-Mailer: git-send-email 2.44.0.478.gd926399ef9-goog Message-ID: <20240402180835.1661905-1-surenb@google.com> Subject: [PATCH 1/1] mm/mempool: Documentation: add missing mempool_create_node 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, kernel test robot X-Rspam-User: X-Rspamd-Server: rspam12 X-Rspamd-Queue-Id: BCD93C001E X-Stat-Signature: odeo637cz34d3esahcuez4tgiiz3qeaq X-HE-Tag: 1712081319-122763 X-HE-Meta: U2FsdGVkX196ZJK4E3cT6TzF58gJkQmzw9uxsjaQI4dvX7f0G2X4i9TwVoKm9fntBCtUxhxwmPuRWLaoEOAM5QsgrlagAkkOqa2bPxL6EuK8Ssfg54wsMRK6iUgOL+e7H6XQjYnaBCOV96VLmLUsVRkFqG+v0ZOv5mgW56lJEcvBqZJssC9pEja2a756d+QjlRFxFDN/iJzQuBuKGhx0PBOQLq/hzClFH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s+sptccgn5JBvYQ35KjjnH79RGwhk4NpFEx4YrBenfKPJXFbZ7BsMcw5LeqUQgD+gs3iQQnqYyIXnzpz/tUQz7xaBcvNTF9wN4rta66W+3dDOVHqun8QK1ujBV4V8lPNQ8XR1RggFy8sfHG14WQ0XfCjZxIfpFS7NafeZCNK0Z6wrBkM3RO1W3dPPd0AKAGssggio8eeiC0hDfIIa/DLoKXpb3sbYXZP2Hzle2l+pBCsk/Jqe9inwlr2CCUnv2YUoAvthJpXM4evNl6DNKaRs0Wz5B/6uHWXu4LyIxb6sfaj+Te6glZnv44xuumAGY204pgRNefaL5Bu+/su1FUTC66vDzv3KQe5gst4BcJDwsCc38fExvvZg1D0L5dkLi7+q4JR7QfTAujtUZkm+XE X-Bogosity: Ham, tests=bogofilter, spamicity=0.049020, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: List-Subscribe: List-Unsubscribe: mempool_create_node documentation for two of its parameters is missing. Document those parameters. Reported-by: kernel test robot Closes: https://lore.kernel.org/oe-kbuild-all/202404010132.6v0zt6oa-lkp@intel.com/ Signed-off-by: Suren Baghdasaryan --- mm/mempool.c | 2 ++ 1 file changed, 2 insertions(+) base-commit: d4cd6840d1dc25963aa10ef5e5b1d01876baebf2 diff --git a/mm/mempool.c b/mm/mempool.c index 63d4e3778bbd..6ece63a00acf 100644 --- a/mm/mempool.c +++ b/mm/mempool.c @@ -256,6 +256,8 @@ EXPORT_SYMBOL(mempool_init_noprof); * @alloc_fn: user-defined element-allocation function. * @free_fn: user-defined element-freeing function. * @pool_data: optional private data available to the user-defined functions. + * @gfp_mask: memory allocation flags + * @node_id: numa node to allocate on * * this function creates and allocates a guaranteed size, preallocated * memory pool. The pool can be used from the mempool_alloc() and mempool_free()