Received: by 2002:a05:7208:3003:b0:81:def:69cd with SMTP id f3csp4244026rba; Tue, 2 Apr 2024 11:09:29 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWV2QgY9L7hv+Y46l3NPU69hD4gWLlFH7uUyXId5juGj+Lw4tpSUI/JrA1TyoAdWc2JjV0YOU5YiQmxGQJhS7PNAin3++LsADin67bXzw== X-Google-Smtp-Source: AGHT+IFHh671m6ifeCSvtWiAvqYYObu5e9yl/dSgD6pP4Q0QlFMiW+zXOqXI1yUxyKEf1pAeSwF6 X-Received: by 2002:ad4:576e:0:b0:698:f9d0:f1fd with SMTP id r14-20020ad4576e000000b00698f9d0f1fdmr14167593qvx.13.1712081369126; Tue, 02 Apr 2024 11:09:29 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712081369; cv=pass; d=google.com; s=arc-20160816; b=ITO3XoHEdXPVkvEU/qyRiwYm0bpv9eQp0WuYIb/JAdEZv7hP0YfiBBHvqNJqHxlXst pxRcmBeZO98kUu+OLUD5GCBUcsqFdqWMuhwvS4W/tIj6we2IBPYXz4Ttq1djIcwoTTG2 nIVEPEXuv2Ks7BSX6oICOQzvR9mpxTu59EhpUIH/F5ldRzxn5EvQ5y7lwhrifZZkbArM 3EG0Ribjn8WIV9mdF4hcPJJLeK1u2GN22N12fE/SAbf0Y9mr9/+oXxdFBy5xUq7UmoGj lW3qYugAuL9JH3iGQxXZ2aZVr+vUaxSQSjyLqy2zN3POv/bL0uEuRLGcPt+JxurBl7b8 zdSw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:from:subject:message-id:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:dkim-signature; bh=DgQmUs6HhPB39/8zfW/Zv0dW3hKDHFfzMOS/PR5/wFQ=; fh=6xuP8yNo60nxfJrndPLVwg+8eN5u3aFuDrYrpUiaBmI=; b=kcsVA4zL1pOcLLvrs+bOJH03ZigPM6c10lmPYoaW9o9C+KsjfnY/Vbe/uqhp7cx1do bERbMIo7WlV5UnUsV6UIYkb37kKNQoBCnu2nzGx0HNWgjlliADkQtqY756Pp31TVUBpQ sQP7qAS1ZdwaueEHMyGU5QYpUM6zsN72hpNJMeQf8g2yMfkkcC6zf63i1yXn5/twZueB qcRY6j2MqrtBbOYmb8zoH+CRCZxRRcWqpBT8mYXVw3m2M9UdNSWSmjlNy1NNzpTJIXjc W1SsxHuaKWPHAzReXr/+6I7QP47xqHgE7S4ykB0ut2N0hWa+JnCaj8Gik+TsvCDVtizH 8Cqw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=amBSn08b; 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-128484-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-128484-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id cy13-20020a05621418cd00b0069925e4e8a1si18600qvb.410.2024.04.02.11.09.28 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 02 Apr 2024 11:09:29 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-128484-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=amBSn08b; 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-128484-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-128484-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id C9EC31C233D8 for ; Tue, 2 Apr 2024 18:09:01 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 258C815AADA; Tue, 2 Apr 2024 18:08:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="amBSn08b" 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 CC011175A1 for ; Tue, 2 Apr 2024 18:08:39 +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=1712081321; cv=none; b=FEP1AE/itYLCliX7Lm2h72FrGPefxiMVr1CQSI0o3YYE8DjidlAXCgV9tEp4MhzJSNhjncoy69iJdhfHaqg17d7foqwswMZahJhsrGtr/PRJ++MGcYKZBclYJjfXjslj9SIZtC/VLjrtFNhuUL+btEovOVqjgFbyl0vfnklI/8c= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712081321; c=relaxed/simple; bh=6lI9VNiSXumgy0lIFnQbruvwbZ1Z01+DeNNrabaoY50=; h=Date:Mime-Version:Message-ID:Subject:From:To:Cc:Content-Type; b=dR0hNAHzvDABtKlAKV+OLq5G/yiLw4jhsRV3od4MTEd+xCajSpghJMxb6bAJwvLoPWm98Q7Ff4dR4wHMy72g0R9N0j6NnOmKwUDsk41mOIQUBYeN5tgRHlwW8C8iIb9QrVoTRm7LBbKVnqVZkCCh3BuNumUZnIJX/HoAzc9nkxg= 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=amBSn08b; 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 Received: by mail-yw1-f201.google.com with SMTP id 00721157ae682-615073c8dfbso28477127b3.1 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=vger.kernel.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=amBSn08bcELoWschEMG6TKrSRuLWI+qRMZfe74SlqgkgJv6Idzo68jDUtPR2XH4d37 a52PIfg2miF7o4OuDCjqwjfjgr/O6LQg2EO5D0+DEhZ16XQIgXnHr6+vEIM6aR3R/OpY NyvV+XXzXMt4kmatp1xvPmMxhrAHcG1iU/dMElmueLDzEa/EUR1Bn3lSaeLcljbjHVdt A1vUkrlTP14nlC7jjygP1t7tqojCS9wFeP5AJl76r6SwDc79iYS60Ifj7qjmgLtKflpS C5hgxT2QkXXfgm5Gbd+//eANPYsySsVz49ySj6cKM2kmlT6qplHpN0oTae0lyaW9cTbk k6RA== 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=CiE+Luk3f/nfZ5pX+D/eYI7OGlBRfDGX6apVgtv0occsK3FKwLrQS6vw0rqPlTVOVm Nmq+kmSxrLSR7eecOJ4mzLnoN/PAs8VJ/FkAzQk96iHadf2FT7wCdZNY5rsI5fbsAWUO Rmj45t9l7NR7pWfnqxoBJMcxdy+4uKKiUMQk1DjAWivmCSwlwWH9Tg/feEXk7L7qKB2u 4rlfDXP1wgXfmtNyXxa6Xma+ATU08R/Jt50h4zXA3Vg7sFjYdTfNn8/xw72IRa0VurUY nRNrmp19a4w+yzczbjydAXh/9g13S17vAmH3NOIF0IPmfgl9FAGkVnjXdhrosgzesgBd J3eg== X-Forwarded-Encrypted: i=1; AJvYcCUkKRKf15EhxnBs/lyo3MKF8UVrxrUxJis5XSVpGgiCcsaR+bD58EI4r3gg4v0ehC/YG+JCMaejsVi07t46Sq9VOTQUFbY6ezNxwgG1 X-Gm-Message-State: AOJu0Yx2/UxTSa4SAtuZsZW1AJhmcIjKAsQ07A+u9BDxKOOUCoi2Evy4 A3C8OtzcjSF/VVoKtci594lHxwlrjlY1g3Xs1DL/fpt/iwHkkOLeWlFrLrH+nCENYr0AuT1PNQw 4Ag== 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 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: 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 Content-Type: text/plain; charset="UTF-8" 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(+) 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() base-commit: d4cd6840d1dc25963aa10ef5e5b1d01876baebf2 -- 2.44.0.478.gd926399ef9-goog