From mboxrd@z Thu Jan 1 00:00:00 1970 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 A8D86C2B9F4 for ; Thu, 17 Jun 2021 20:44:19 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 42481613FE for ; Thu, 17 Jun 2021 20:44:19 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 42481613FE 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 89B0B6B0070; Thu, 17 Jun 2021 16:44:18 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 824266B0071; Thu, 17 Jun 2021 16:44:18 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 6A0BF6B0072; Thu, 17 Jun 2021 16:44:18 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0053.hostedemail.com [216.40.44.53]) by kanga.kvack.org (Postfix) with ESMTP id 324A26B0070 for ; Thu, 17 Jun 2021 16:44:18 -0400 (EDT) Received: from smtpin08.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay03.hostedemail.com (Postfix) with ESMTP id C472C8248D51 for ; Thu, 17 Jun 2021 20:44:17 +0000 (UTC) X-FDA: 78264393354.08.820396C Received: from casper.infradead.org (casper.infradead.org [90.155.50.34]) by imf26.hostedemail.com (Postfix) with ESMTP id 3E4574202A0A for ; Thu, 17 Jun 2021 20:44:17 +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=TGQuTGgAWX1MM2s4JV1XEEtRQArGGvuBOcpKDMQ5/Nc=; b=BYHggXlPKzcsmbzFerS/z59nzR Z744Xj99f9e4UCQq4DebaUN3nuLpq90UoaRa6XyvIhI9OTqbKsLln7Xm68ajNapaAyc7TgWE9ar99 Cv1s7xYsF6wmkkENy8sB2y4v6JZ8RnWrE8Ps36IEOwqbjktViDf1J3E7sVvdQnqa9++yN7czhMFgP h1h9Caq9YBM+PYBtJhtr+xR49S13YlXfHGNa1VQ6wLH9IU2fJ506ESkJ7E0hnCbrDQCgJrlorQDXm s8crUJ/V8OjSs+AzK8c+vJ28IIuEVEtzGxd11aIeyh3mePYaO0HWnHicuJbsdXwuqXaPl3NVqGhef QwBbimgQ==; Received: from willy by casper.infradead.org with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1ltyrK-009Yoa-52; Thu, 17 Jun 2021 20:43:47 +0000 From: "Matthew Wilcox (Oracle)" To: linux-mm@kvack.org, linux-doc@vger.kernel.org Cc: "Matthew Wilcox (Oracle)" Subject: [PATCH 1/3] mm/doc: Include compressed memory kernel-doc Date: Thu, 17 Jun 2021 21:43:23 +0100 Message-Id: <20210617204325.2278730-1-willy@infradead.org> X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 Authentication-Results: imf26.hostedemail.com; dkim=pass header.d=infradead.org header.s=casper.20170209 header.b=BYHggXlP; spf=none (imf26.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: 9r1wf3o4jc4mo5igrp9gu8bhtgb4hp5u X-Rspamd-Queue-Id: 3E4574202A0A X-Rspamd-Server: rspam06 X-HE-Tag: 1623962657-226754 Content-Transfer-Encoding: quoted-printable 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: People have gone to a lot of trouble to write all this documentation; include it as part of the htmldocs. Signed-off-by: Matthew Wilcox (Oracle) --- Documentation/vm/z3fold.rst | 5 +++++ Documentation/vm/zsmalloc.rst | 7 +++++++ 2 files changed, 12 insertions(+) diff --git a/Documentation/vm/z3fold.rst b/Documentation/vm/z3fold.rst index 224e3c61d686..1e1fd3c46290 100644 --- a/Documentation/vm/z3fold.rst +++ b/Documentation/vm/z3fold.rst @@ -28,3 +28,8 @@ handle which encodes actual location of the allocated o= bject. Keeping effective compression ratio close to zsmalloc's, z3fold doesn't depend on MMU enabled and provides more predictable reclaim behavior which makes it a better fit for small and response-critical systems. + +Functions and structures +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D + +.. kernel-doc:: mm/z3fold.c diff --git a/Documentation/vm/zsmalloc.rst b/Documentation/vm/zsmalloc.rs= t index 6e79893d6132..32bda5f31e6b 100644 --- a/Documentation/vm/zsmalloc.rst +++ b/Documentation/vm/zsmalloc.rst @@ -80,3 +80,10 @@ Similarly, we assign zspage to: * ZS_ALMOST_FULL when n > N / f * ZS_EMPTY when n =3D=3D 0 * ZS_FULL when n =3D=3D N + +Functions and structures +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D + +.. kernel-doc:: mm/zsmalloc.c +.. kernel-doc:: mm/zbud.c +.. kernel-doc:: mm/zpool.c --=20 2.30.2