From patchwork Thu Jun 17 20:43:24 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Matthew Wilcox X-Patchwork-Id: 12329523 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-16.6 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1F42DC48BE5 for ; Thu, 17 Jun 2021 20:44:40 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id B9DD4610A7 for ; Thu, 17 Jun 2021 20:44:38 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org B9DD4610A7 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id 5409D6B0071; Thu, 17 Jun 2021 16:44:38 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 4EF136B0072; Thu, 17 Jun 2021 16:44:38 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 390936B0073; Thu, 17 Jun 2021 16:44:38 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0019.hostedemail.com [216.40.44.19]) by kanga.kvack.org (Postfix) with ESMTP id 02A006B0071 for ; Thu, 17 Jun 2021 16:44:37 -0400 (EDT) Received: from smtpin10.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay05.hostedemail.com (Postfix) with ESMTP id 8B1F5181AEF0B for ; Thu, 17 Jun 2021 20:44:37 +0000 (UTC) X-FDA: 78264394194.10.FCB8175 Received: from casper.infradead.org (casper.infradead.org [90.155.50.34]) by imf11.hostedemail.com (Postfix) with ESMTP id ECCC6200109D for ; Thu, 17 Jun 2021 20:44:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Content-Transfer-Encoding:MIME-Version: References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To: Content-Type:Content-ID:Content-Description; bh=8xywp7LiKcGCaFvvwvOAeZj1J6iQDYcpbrJsJxe4LF4=; b=pBisYjD+W/gukGr/TNGVdFUgdL cV651SZgZWQgVFh4IK80PCPCfKnc42/v7cgNVmA6++p0V/dY3De0C8w2m+61WiGMv+f3B7PxhvfRL ptHR+L5pe2oyS6R/VYoOuIFTtEl7580h+NKJ/ByYtE7Fd81asY8Kbp0WQdqlLMf/E23QokxXTSBWM DCo7E94Crd4F1foBsrhNeGos/xbMp87Vzb1Z3T/lv18NnXYNfuKlq4J3sGRo8kIekzj1QnSyQKTJH eNOJUTj+2nwQwuJ26NvCP1oohTilAkeF4CGcqeDo6vKoDSowFkRNNW9FLP2nyQjhJebl9XD/475k4 Y2EB2XDg==; Received: from willy by casper.infradead.org with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1ltyro-009YpW-NU; Thu, 17 Jun 2021 20:44:08 +0000 From: "Matthew Wilcox (Oracle)" To: linux-mm@kvack.org, linux-doc@vger.kernel.org Cc: "Matthew Wilcox (Oracle)" Subject: [PATCH 2/3] mm/doc: Add some more missing kernel-doc Date: Thu, 17 Jun 2021 21:43:24 +0100 Message-Id: <20210617204325.2278730-2-willy@infradead.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210617204325.2278730-1-willy@infradead.org> References: <20210617204325.2278730-1-willy@infradead.org> MIME-Version: 1.0 Authentication-Results: imf11.hostedemail.com; dkim=pass header.d=infradead.org header.s=casper.20170209 header.b=pBisYjD+; spf=none (imf11.hostedemail.com: domain of willy@infradead.org has no SPF policy when checking 90.155.50.34) smtp.mailfrom=willy@infradead.org; dmarc=none X-Stat-Signature: 8qsia4rbspx3od9i6esxd775ikzjoj6b X-Rspamd-Queue-Id: ECCC6200109D X-Rspamd-Server: rspam06 X-HE-Tag: 1623962676-563664 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: All these functions have kernel-doc that's not being included. Signed-off-by: Matthew Wilcox (Oracle) --- Documentation/core-api/mm-api.rst | 4 ++++ Documentation/vm/transhuge.rst | 6 ++++++ 2 files changed, 10 insertions(+) diff --git a/Documentation/core-api/mm-api.rst b/Documentation/core-api/mm-api.rst index a42f9baddfbf..e46f01c4b200 100644 --- a/Documentation/core-api/mm-api.rst +++ b/Documentation/core-api/mm-api.rst @@ -66,6 +66,8 @@ File Mapping and Page Cache .. kernel-doc:: mm/page-writeback.c :export: +.. kernel-doc:: mm/backing-dev.c + :export: .. kernel-doc:: mm/truncate.c :export: @@ -93,6 +95,8 @@ More Memory Management Functions .. kernel-doc:: mm/page_alloc.c .. kernel-doc:: mm/mempolicy.c +.. kernel-doc:: mm/vmscan.c + :export: .. kernel-doc:: include/linux/mm_types.h :internal: .. kernel-doc:: include/linux/mm.h diff --git a/Documentation/vm/transhuge.rst b/Documentation/vm/transhuge.rst index 216db1d67d04..550dea445528 100644 --- a/Documentation/vm/transhuge.rst +++ b/Documentation/vm/transhuge.rst @@ -185,3 +185,9 @@ a THP crosses a VMA boundary. The function deferred_split_huge_page() is used to queue a page for splitting. The splitting itself will happen when we get memory pressure via shrinker interface. + +Functions and structures +======================== + +.. kernel-doc:: mm/huge_memory.c +.. kernel-doc:: mm/khugepaged.c