Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp4165127rwb; Tue, 16 Aug 2022 16:07:25 -0700 (PDT) X-Google-Smtp-Source: AA6agR54QqN5Kt3Z4viBRU5ze8wE7E1NBoX1zQTzuyZ6Deypqm9S7YL9w4oJXPiwH+9N82NTJxxa X-Received: by 2002:a17:903:244c:b0:16e:fa53:a54c with SMTP id l12-20020a170903244c00b0016efa53a54cmr23330729pls.46.1660691244895; Tue, 16 Aug 2022 16:07:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660691244; cv=none; d=google.com; s=arc-20160816; b=HrKhU5kqWkTZ+a0xEGQBge01lhqoboIwlPGGDjbAwlJQlZD95h+IVkCLjqH/6xjL/E FLA8sS7+R+KKGcB1f2DR/eIdXYSBgFgd6yz8j++PlA5OU+w8zDo4My5Hso/VjMOBIEEV XMSPTNOnsdNLQF/aCN+MNcZzyw1wpXDtw/xWSVUJYnviRGhsYtFLckN80JE/CPQ0W/de YVNfi4dO/AXqyjLvpGC6lrUkXIsQeUO58az+6FRlzPsGmqSGjnKuP3OzTgvBJawsZh20 jSVnCi205ExPZZa+y+B51mOZpPMKqK25ZfUk8VNtga3M4Uhpapz7bmtXf1fQNReE8wdR ybjQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:to:content-language:subject:user-agent:mime-version:date :message-id:dkim-signature; bh=kqzOfHqst6JeHRRhVNK+zvbxpqEo5N4H6rU+LSHNoSM=; b=013k4LQdipDr13Gw6UQj+2/yHc59S5HCN3cFyLCc/O2TfKLlgdWmvwAfoAtZkBW7+D 8MGaY7yLtZuWQxBQj0uS5qVquUcOwulxtqcr34OKKrwJRPL7f8HTGgSHao165OqBniYq Ti/XUa1oRL/+zR6qzA261COq2kkYd42MeJZbJPKcIG3SiYwwIR0w1xqWc+fs2juihUEh qvpnO8WhkjLfJI5x+hEByjFaDH+CVyeo/pL1L8QEPCDGXe59CnNloPnR3gguAsPjUuPw sHiSEwDX7ZTbguVtAUDtDA8IbYmENqPkSDnL8VLrpXdAGHJaC6h0Ix4ujPUxyocT5UEX OeLA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=AD92IfPL; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ev5-20020a17090aeac500b001f2757da25asi208251pjb.91.2022.08.16.16.07.07; Tue, 16 Aug 2022 16:07:24 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=AD92IfPL; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237558AbiHPWgr (ORCPT + 99 others); Tue, 16 Aug 2022 18:36:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34848 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232911AbiHPWgo (ORCPT ); Tue, 16 Aug 2022 18:36:44 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5964D8B9BF; Tue, 16 Aug 2022 15:36:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: Content-Type:In-Reply-To:From:References:To:Subject:MIME-Version:Date: Message-ID:Sender:Reply-To:Cc:Content-ID:Content-Description; bh=kqzOfHqst6JeHRRhVNK+zvbxpqEo5N4H6rU+LSHNoSM=; b=AD92IfPLnvGpuBqNX4jiPX0LzA XY59emo27WMUvTMBUXmr7ofI8i09GiboQh9Iw2Av1G3paqDB6UGZxeVYJuTmKwpXgWqByx42ACBEH dg6PraG9coTDqj2lbltsYvodrqwbWKNwMJR/5NLW6gtI9AHtlL33mzER/Vzqw0H6Y5Xi+DZ2LSWFW Coh0TkHbXhM2PpLIBZ6EITsal1xmdpielIxfwHjfcuYII4g4S6JvwATg5DKDVhUdwoNy7FSF98/bl K3oF//GJGFzw3mb09Tk2zhFN6QV9Fi+Al2qO6QMWMhCQN8XBDIM/oqt09BHMHpvEt5O50WaSAbdP1 fUnLiZTA==; Received: from [2601:1c0:6280:3f0::a6b3] by bombadil.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1oO5An-007Xxs-EZ; Tue, 16 Aug 2022 22:36:33 +0000 Message-ID: <299a0328-9d93-74ca-a2b2-114dfd896056@infradead.org> Date: Tue, 16 Aug 2022 15:36:32 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0 Subject: Re: [PATCH v2] docs: admin-guide/mm: Improve grammar on MM concepts documentation Content-Language: en-US To: alexlzhu@fb.com, corbet@lwn.net, bobwxc@email.cn, rppt@kernel.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, Kernel-team@fb.com References: <20220816022621.253778-1-alexlzhu@fb.com> From: Randy Dunlap In-Reply-To: <20220816022621.253778-1-alexlzhu@fb.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_LOW, SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi-- On 8/15/22 19:26, alexlzhu@fb.com wrote: > From: Alexander Zhu > > Improve grammar on MM concepts documentation. > > Signed-off-by: Alexander Zhu > --- > Documentation/admin-guide/mm/concepts.rst | 138 +++++++++++----------- > 1 file changed, 68 insertions(+), 70 deletions(-) > > diff --git a/Documentation/admin-guide/mm/concepts.rst b/Documentation/admin-guide/mm/concepts.rst > index c79f1e336222..c471f80b7a38 100644 > --- a/Documentation/admin-guide/mm/concepts.rst > +++ b/Documentation/admin-guide/mm/concepts.rst [snip] > -Depending on the page usage it is treated differently by the Linux > -memory management. The pages that can be freed at any time, either > -because they cache the data available elsewhere, for instance, on a > -hard disk, or because they can be swapped out, again, to the hard > +Depending on page usage it is treated differently by the Linux > +memory management subsystem. Pages that can be freed at any time, > +either because they cache the data available elsewhere > +(ie on a hard disk) or because they can be swapped out to the hard (i.e., on a hard disk) > disk, are called `reclaimable`. The most notable categories of the > reclaimable pages are page cache and anonymous memory. > [snip] > > Compaction > ========== > > -As the system runs, tasks allocate and free the memory and it becomes > +As the system runs, tasks will allocate and free memory. Memory thus becomes Addition of "will" is not needed. > fragmented. Although with virtual memory it is possible to present > -scattered physical pages as virtually contiguous range, sometimes it is > +scattered physical pages as a virtually contiguous range, sometimes it is > necessary to allocate large physically contiguous memory areas. Such > need may arise, for instance, when a device driver requires a large > buffer for DMA, or when THP allocates a huge page. Memory `compaction` Thanks. -- ~Randy