From patchwork Mon Mar 22 19:50:19 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Matthew Wilcox X-Patchwork-Id: 12156051 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,URIBL_BLOCKED,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 9E57DC433C1 for ; Mon, 22 Mar 2021 20:23:07 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 4242361993 for ; Mon, 22 Mar 2021 20:23:07 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 4242361993 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 C76FC6B0106; Mon, 22 Mar 2021 16:23:06 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id C02A46B0108; Mon, 22 Mar 2021 16:23:06 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id AA0066B0109; Mon, 22 Mar 2021 16:23:06 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0090.hostedemail.com [216.40.44.90]) by kanga.kvack.org (Postfix) with ESMTP id 893A36B0106 for ; Mon, 22 Mar 2021 16:23:06 -0400 (EDT) Received: from smtpin35.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay05.hostedemail.com (Postfix) with ESMTP id 49CD71801DBD7 for ; Mon, 22 Mar 2021 20:23:06 +0000 (UTC) X-FDA: 77948634372.35.1E7C390 Received: from casper.infradead.org (casper.infradead.org [90.155.50.34]) by imf09.hostedemail.com (Postfix) with ESMTP id 2B78C600013C for ; Mon, 22 Mar 2021 20:22:58 +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: Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type:Content-ID: Content-Description:In-Reply-To:References; bh=SLdwPC5W3o3Gr0ZVa4JQql9yn28VAnXye3gRNuw619g=; b=Vx8d4CcY/4oayG0fn7gXhPPH2v L+4k+RNSys1IkokVhJlKguahw1F8hVsP/9RGbYseY9pzQkuTUbYRNVYSvFgXPXfq4+UrtP7OItYE0 heJXSP2/VodK2SXpzDqklh4PQtzI/9EviJa/5MANT1joF8Tj7ryN3C/ipWp3/gEh2z/dKVkTGOUlG /K4MedKwrPPhJbrP5LJwOeSSMvHqz0Dfc/MomCkVCfHCLPvpxQRzpibxj3CD4C3tcCUv06Y4s3vrt GSuKo96DpxIwJIJiLiP59k3iEnCzQblEcxKnN6jw1fATrV+joMbsR9PJ+cGJMq0U/U1Y7ONqJqiQw t1wJwxtA==; Received: from willy by casper.infradead.org with local (Exim 4.94 #2 (Red Hat Linux)) id 1lOQZM-008zfX-16; Mon, 22 Mar 2021 19:50:39 +0000 From: "Matthew Wilcox (Oracle)" To: linux-mm@kvack.org, Andrew Morton Cc: "Matthew Wilcox (Oracle)" , linux-doc@vger.kernel.org, John Hubbard , Mike Rapoport Subject: [PATCH 1/4] mm/doc: Fix fault_flag_allow_retry_first kerneldoc Date: Mon, 22 Mar 2021 19:50:19 +0000 Message-Id: <20210322195022.2143603-1-willy@infradead.org> X-Mailer: git-send-email 2.29.2 MIME-Version: 1.0 X-Stat-Signature: s37ch7g779ns3z1gpg49qtdomioaabiu X-Rspamd-Server: rspam01 X-Rspamd-Queue-Id: 2B78C600013C Received-SPF: none (infradead.org>: No applicable sender policy available) receiver=imf09; identity=mailfrom; envelope-from=""; helo=casper.infradead.org; client-ip=90.155.50.34 X-HE-DKIM-Result: pass/pass X-HE-Tag: 1616444578-969713 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: make htmldocs reports: ./include/linux/mm.h:496: warning: Function parameter or member 'flags' not described in 'fault_flag_allow_retry_first' Add a description. Signed-off-by: Matthew Wilcox (Oracle) Acked-by: Mike Rapoport --- include/linux/mm.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/linux/mm.h b/include/linux/mm.h index cb1e191da319..9c149e945bf9 100644 --- a/include/linux/mm.h +++ b/include/linux/mm.h @@ -482,6 +482,7 @@ extern pgprot_t protection_map[16]; /** * fault_flag_allow_retry_first - check ALLOW_RETRY the first time + * @flags: Fault flags. * * This is mostly used for places where we want to try to avoid taking * the mmap_lock for too long a time when waiting for another condition From patchwork Mon Mar 22 19:50:20 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Matthew Wilcox X-Patchwork-Id: 12156039 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,URIBL_BLOCKED,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 C6315C433DB for ; Mon, 22 Mar 2021 20:12:48 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 25EEC6196C for ; Mon, 22 Mar 2021 20:12:48 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 25EEC6196C 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 B23A66B00F6; Mon, 22 Mar 2021 16:12:47 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id AF9BA6B00FA; Mon, 22 Mar 2021 16:12:47 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 985FC6B00FB; Mon, 22 Mar 2021 16:12:47 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0243.hostedemail.com [216.40.44.243]) by kanga.kvack.org (Postfix) with ESMTP id 7DB6D6B00F6 for ; Mon, 22 Mar 2021 16:12:47 -0400 (EDT) Received: from smtpin18.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay01.hostedemail.com (Postfix) with ESMTP id 4535F180ACF84 for ; Mon, 22 Mar 2021 20:12:47 +0000 (UTC) X-FDA: 77948608374.18.A269229 Received: from casper.infradead.org (casper.infradead.org [90.155.50.34]) by imf08.hostedemail.com (Postfix) with ESMTP id 0F1D4801A817 for ; Mon, 22 Mar 2021 20:12:35 +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=kayJ76bq4gw4z85XDXR+VShQ1uEIV81RDNzYH2iF6+I=; b=iuT60PW44BD0x4g+1NLe1/YNFP VUDOwZHpIfnuNk3EVEy7OIOu1GlJknr+QHAYCiWpqdRCAgs9u4YcuipkOX1MC8oaFCCFD4rEvTK6U nlGc146ZQJCyrgrywSyVW1jgLEyqCnIt6WGmKit/b/Zclexi7FwfQnjlrkI31w4gJkZUE+VH0+k+X 6Oc1O0WJ4nqL2NkbjWdZeHvLHmMo0k3dB5DST9cPA6j++BrtDkiBoQc9drJhPzJAnFqlUbw8rkc6s ZOWjnaii//D1DBnpHYFTTKvmPLyotw4Yjijm+u2gaSFZKcSOHmDB6LKPDQY4Xq0Spy7jN0t05enQ+ FCpD+muQ==; Received: from willy by casper.infradead.org with local (Exim 4.94 #2 (Red Hat Linux)) id 1lOQZg-008zi7-99; Mon, 22 Mar 2021 19:50:57 +0000 From: "Matthew Wilcox (Oracle)" To: linux-mm@kvack.org, Andrew Morton Cc: "Matthew Wilcox (Oracle)" , linux-doc@vger.kernel.org, John Hubbard , Mike Rapoport Subject: [PATCH 2/4] mm/doc: Fix page_maybe_dma_pinned kerneldoc Date: Mon, 22 Mar 2021 19:50:20 +0000 Message-Id: <20210322195022.2143603-2-willy@infradead.org> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20210322195022.2143603-1-willy@infradead.org> References: <20210322195022.2143603-1-willy@infradead.org> MIME-Version: 1.0 X-Stat-Signature: j6bb84hf5q4qt8zmoi6u6phdx1b5xggb X-Rspamd-Server: rspam01 X-Rspamd-Queue-Id: 0F1D4801A817 Received-SPF: none (infradead.org>: No applicable sender policy available) receiver=imf08; identity=mailfrom; envelope-from=""; helo=casper.infradead.org; client-ip=90.155.50.34 X-HE-DKIM-Result: pass/pass X-HE-Tag: 1616443955-528695 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: make htmldocs reports: ./include/linux/mm.h:1341: warning: Excess function parameter 'Return' description in 'page_maybe_dma_pinned' Fix a few other formatting nits while I'm editing this description. Signed-off-by: Matthew Wilcox (Oracle) Acked-by: Mike Rapoport Reviewed-by: John Hubbard --- include/linux/mm.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/include/linux/mm.h b/include/linux/mm.h index 9c149e945bf9..96e5ceffce09 100644 --- a/include/linux/mm.h +++ b/include/linux/mm.h @@ -1273,10 +1273,11 @@ void unpin_user_page_range_dirty_lock(struct page *page, unsigned long npages, void unpin_user_pages(struct page **pages, unsigned long npages); /** - * page_maybe_dma_pinned() - report if a page is pinned for DMA. + * page_maybe_dma_pinned - Report if a page is pinned for DMA. + * @page: The page. * * This function checks if a page has been pinned via a call to - * pin_user_pages*(). + * a function in the pin_user_pages() family. * * For non-huge pages, the return value is partially fuzzy: false is not fuzzy, * because it means "definitely not pinned for DMA", but true means "probably @@ -1294,9 +1295,8 @@ void unpin_user_pages(struct page **pages, unsigned long npages); * * For more information, please see Documentation/core-api/pin_user_pages.rst. * - * @page: pointer to page to be queried. - * @Return: True, if it is likely that the page has been "dma-pinned". - * False, if the page is definitely not dma-pinned. + * Return: True, if it is likely that the page has been "dma-pinned". + * False, if the page is definitely not dma-pinned. */ static inline bool page_maybe_dma_pinned(struct page *page) { From patchwork Mon Mar 22 19:50:21 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Matthew Wilcox X-Patchwork-Id: 12156009 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,URIBL_BLOCKED,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 DB435C433C1 for ; Mon, 22 Mar 2021 19:57:12 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 6E12C61477 for ; Mon, 22 Mar 2021 19:57:12 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 6E12C61477 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 0AD9A6B00C2; Mon, 22 Mar 2021 15:57:12 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 085DD6B00C4; Mon, 22 Mar 2021 15:57:12 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id EA0BA6B00E4; Mon, 22 Mar 2021 15:57:11 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0033.hostedemail.com [216.40.44.33]) by kanga.kvack.org (Postfix) with ESMTP id CE1DC6B00C2 for ; Mon, 22 Mar 2021 15:57:11 -0400 (EDT) Received: from smtpin14.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay01.hostedemail.com (Postfix) with ESMTP id 95D1D180ACF84 for ; Mon, 22 Mar 2021 19:57:11 +0000 (UTC) X-FDA: 77948569062.14.EABD0D9 Received: from casper.infradead.org (casper.infradead.org [90.155.50.34]) by imf25.hostedemail.com (Postfix) with ESMTP id BEFD56000108 for ; Mon, 22 Mar 2021 19:57:00 +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=p/Nkq+YXtzDNG75Fdomi39g4jkuM3XR6NmOhaBFJ2jQ=; b=H6Tg8fZuvvp7WPeRTPiWEY7b+4 uHzG/41jdjIOU3UW38CJiW264/QpXqUWta5g4cBC6IEvIcow/E9NaqngGmrlyVbLW9YcKUcfps2Qd rgZahmgoUYVshZfk4FCog3VAhDgAYoqm1HJDFmu61h48TOJi/UETlvxYwQ69ieG7hopS8RCM/fIb7 GXB9bqk4YJ5epuR9BhVlym4+KTeqQEmfAV95zwnm+zyThlgs9oV4jNPCbOhkWw/LewoQRo5c1Ifif 0OFLzi9VbN6XcrksioHmMlsmHOw7qnuUaizehCRmNoN/YpDXVA8NuqIf4QSEyoJIH+LhWoPK7RbEN lUQ9PMIw==; Received: from willy by casper.infradead.org with local (Exim 4.94 #2 (Red Hat Linux)) id 1lOQaC-008zjO-Mw; Mon, 22 Mar 2021 19:51:41 +0000 From: "Matthew Wilcox (Oracle)" To: linux-mm@kvack.org, Andrew Morton Cc: "Matthew Wilcox (Oracle)" , linux-doc@vger.kernel.org, John Hubbard , Mike Rapoport Subject: [PATCH 3/4] mm/doc: Turn fault flags into an enum Date: Mon, 22 Mar 2021 19:50:21 +0000 Message-Id: <20210322195022.2143603-3-willy@infradead.org> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20210322195022.2143603-1-willy@infradead.org> References: <20210322195022.2143603-1-willy@infradead.org> MIME-Version: 1.0 X-Rspamd-Server: rspam04 X-Rspamd-Queue-Id: BEFD56000108 X-Stat-Signature: 7gf7yq5bm61cqd3o7xhpx3qrc71w8zwh Received-SPF: none (infradead.org>: No applicable sender policy available) receiver=imf25; identity=mailfrom; envelope-from=""; helo=casper.infradead.org; client-ip=90.155.50.34 X-HE-DKIM-Result: pass/pass X-HE-Tag: 1616443020-688460 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: The kernel-doc script complains about ./include/linux/mm.h:425: warning: wrong kernel-doc identifier on line: * Fault flag definitions. I don't know how to document a series of #defines, so turn these definitions into an enum and document that instead. Signed-off-by: Matthew Wilcox (Oracle) Acked-by: Mike Rapoport --- include/linux/mm.h | 29 +++++++++++++++-------------- 1 file changed, 15 insertions(+), 14 deletions(-) diff --git a/include/linux/mm.h b/include/linux/mm.h index 96e5ceffce09..58df4027dd4d 100644 --- a/include/linux/mm.h +++ b/include/linux/mm.h @@ -429,8 +429,7 @@ extern unsigned int kobjsize(const void *objp); extern pgprot_t protection_map[16]; /** - * Fault flag definitions. - * + * enum fault_flag - Fault flag definitions. * @FAULT_FLAG_WRITE: Fault was a write fault. * @FAULT_FLAG_MKWRITE: Fault was mkwrite of existing PTE. * @FAULT_FLAG_ALLOW_RETRY: Allow to retry the fault if blocked. @@ -461,16 +460,18 @@ extern pgprot_t protection_map[16]; * signals before a retry to make sure the continuous page faults can still be * interrupted if necessary. */ -#define FAULT_FLAG_WRITE 0x01 -#define FAULT_FLAG_MKWRITE 0x02 -#define FAULT_FLAG_ALLOW_RETRY 0x04 -#define FAULT_FLAG_RETRY_NOWAIT 0x08 -#define FAULT_FLAG_KILLABLE 0x10 -#define FAULT_FLAG_TRIED 0x20 -#define FAULT_FLAG_USER 0x40 -#define FAULT_FLAG_REMOTE 0x80 -#define FAULT_FLAG_INSTRUCTION 0x100 -#define FAULT_FLAG_INTERRUPTIBLE 0x200 +enum fault_flag { + FAULT_FLAG_WRITE = 1 << 0, + FAULT_FLAG_MKWRITE = 1 << 1, + FAULT_FLAG_ALLOW_RETRY = 1 << 2, + FAULT_FLAG_RETRY_NOWAIT = 1 << 3, + FAULT_FLAG_KILLABLE = 1 << 4, + FAULT_FLAG_TRIED = 1 << 5, + FAULT_FLAG_USER = 1 << 6, + FAULT_FLAG_REMOTE = 1 << 7, + FAULT_FLAG_INSTRUCTION = 1 << 8, + FAULT_FLAG_INTERRUPTIBLE = 1 << 9, +}; /* * The default fault flags that should be used by most of the @@ -493,7 +494,7 @@ extern pgprot_t protection_map[16]; * Return: true if the page fault allows retry and this is the first * attempt of the fault handling; false otherwise. */ -static inline bool fault_flag_allow_retry_first(unsigned int flags) +static inline bool fault_flag_allow_retry_first(enum fault_flag flags) { return (flags & FAULT_FLAG_ALLOW_RETRY) && (!(flags & FAULT_FLAG_TRIED)); @@ -528,7 +529,7 @@ struct vm_fault { pgoff_t pgoff; /* Logical page offset based on vma */ unsigned long address; /* Faulting virtual address */ }; - unsigned int flags; /* FAULT_FLAG_xxx flags + enum fault_flag flags; /* FAULT_FLAG_xxx flags * XXX: should really be 'const' */ pmd_t *pmd; /* Pointer to pmd entry matching * the 'address' */ From patchwork Mon Mar 22 19:50:22 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Matthew Wilcox X-Patchwork-Id: 12156043 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,URIBL_BLOCKED,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 2ECFFC433C1 for ; Mon, 22 Mar 2021 20:14:11 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id C39836196C for ; Mon, 22 Mar 2021 20:14:10 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org C39836196C 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 5CB6C6B00FE; Mon, 22 Mar 2021 16:14:10 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 5A0C76B0100; Mon, 22 Mar 2021 16:14:10 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 4B6BA6B0101; Mon, 22 Mar 2021 16:14:10 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0027.hostedemail.com [216.40.44.27]) by kanga.kvack.org (Postfix) with ESMTP id 304DA6B00FE for ; Mon, 22 Mar 2021 16:14:10 -0400 (EDT) Received: from smtpin29.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay05.hostedemail.com (Postfix) with ESMTP id DBB61180202E3 for ; Mon, 22 Mar 2021 20:14:09 +0000 (UTC) X-FDA: 77948611818.29.BD2FC02 Received: from casper.infradead.org (casper.infradead.org [90.155.50.34]) by imf04.hostedemail.com (Postfix) with ESMTP id 11EE37BC for ; Mon, 22 Mar 2021 20:14:02 +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=0C3/ykYRFKokUEKwEXxBMoSu2pgV2JtyhEWH6NBEzHI=; b=bJtc/+N7mVHi4c6Ri/wYSL5q/w gfnQB4HOWGclWTVSqQ5oB81C0liHfYpA0km8u7ilNGDVeOSn/mXXbfQFv5J34sYKqnlP7gyOQQwPM qrPCzsx8YcU+kbDE0u+0BvbhjLxWTax7bR3rjSigM9O4elvddnA3FIh1XiHZnwEv4EJ0RuTxx3pAU 9zD4DJloc1KArQg8vDjKFAE7nKBCbJgrbisKoVPv+UL8batHF/+/HOCzBbHr5NBVXQ2lQAuWzYnDF qIwF3APhi2SWW6zqXYEzuMKSgiZ7lDbfCutUcyBjgIoHVUFJmMRpwceZeopBApf3bR/CUtClOjpVZ EH7vDZjQ==; Received: from willy by casper.infradead.org with local (Exim 4.94 #2 (Red Hat Linux)) id 1lOQaw-008zlX-5W; Mon, 22 Mar 2021 19:52:18 +0000 From: "Matthew Wilcox (Oracle)" To: linux-mm@kvack.org, Andrew Morton Cc: "Matthew Wilcox (Oracle)" , linux-doc@vger.kernel.org, John Hubbard , Mike Rapoport Subject: [PATCH 4/4] mm/doc: Add mm.h and mm_types.h to the mm-api document Date: Mon, 22 Mar 2021 19:50:22 +0000 Message-Id: <20210322195022.2143603-4-willy@infradead.org> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20210322195022.2143603-1-willy@infradead.org> References: <20210322195022.2143603-1-willy@infradead.org> MIME-Version: 1.0 X-Rspamd-Server: rspam03 X-Rspamd-Queue-Id: 11EE37BC X-Stat-Signature: yamjhczkypc8mohbfspnj3eej33kgktc Received-SPF: none (infradead.org>: No applicable sender policy available) receiver=imf04; identity=mailfrom; envelope-from=""; helo=casper.infradead.org; client-ip=90.155.50.34 X-HE-DKIM-Result: pass/pass X-HE-Tag: 1616444042-681264 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: kerneldoc in include/linux/mm.h and include/linux/mm_types.h wasn't being included in the html build. Signed-off-by: Matthew Wilcox (Oracle) Acked-by: Mike Rapoport --- Documentation/core-api/mm-api.rst | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Documentation/core-api/mm-api.rst b/Documentation/core-api/mm-api.rst index 874ae1250258..34f46df91a8b 100644 --- a/Documentation/core-api/mm-api.rst +++ b/Documentation/core-api/mm-api.rst @@ -93,3 +93,7 @@ More Memory Management Functions .. kernel-doc:: mm/page_alloc.c .. kernel-doc:: mm/mempolicy.c +.. kernel-doc:: include/linux/mm_types.h + :internal: +.. kernel-doc:: include/linux/mm.h + :internal: