Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp1658312iog; Thu, 16 Jun 2022 10:51:23 -0700 (PDT) X-Google-Smtp-Source: AGRyM1vqS+KpPdhV+4I2h+JNHkW/A1MRlS/ym7fS7bB8hiMq7ssjR0Q0yupam2vLa7rUNCuz8c+U X-Received: by 2002:a63:5f53:0:b0:3fc:c510:c4a0 with SMTP id t80-20020a635f53000000b003fcc510c4a0mr5538539pgb.80.1655401883248; Thu, 16 Jun 2022 10:51:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655401883; cv=none; d=google.com; s=arc-20160816; b=kamiTNMG7XS4tvXi34Eu8/KCsecZDalan5nQqM466FyW9z34CvV5HhBuxeSQ/c1S8X YkRPoiQ8ERDPtWKK2lkH1F+ZlDdf3yCrXZkbmbnwPKbb4GUM3jY8RxAqOXRwQIV/bwPD l6vHeg62OBYypVtdbkBICrFE6zC8tAaTw2zGqg+8ngm9sAgC1NfUzB/90tLrsDzu4H9D VnZ6Uj/7ruluuoDjA97JGkXfOeK+urxKuYISbuyhnUveXuMZeo61XvSHN8ldLSVijwVK 0gr7xUSsv154yySTvP0slH5HoYWSHP8inAfOR8BuEa5Z4FrkO5gox6EZWajCh/nL6SON PiIA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=cbrfBk2owseXTl2TqGluY3ivP+501euUdLqfR5FVpCc=; b=l2aHJ8Fd8IhIVHO7b5VOztTbQb8e7afWqfnbhKTkZ9FaHsEhmlbYzVb/BZjtrpSa0W cWGfKMEGneKogO1JQaiK0720LbPT3kx8bbJSfuqn9OVy/4rl90iM9GGpupiyWfwAbvQN k0tUna5T01KEuWN5EJ2cAKgtBWfdKcyPvDm9mGncFfm0Fbf6vBhRXXn7C0ofQYC0Gdsm kgzKSU60D1Ams9mhOFjjUxRErbOMj8sreO58ccsO74l0zrChQcLRnMOMuqsRg4j00xHR 8SW3n+aLiL9SaHL6X5/hwmV2agCc4Vk2wjbE7zLmHmVVpcCrocQMqrLqDWROMd3NV0Hd AMug== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=F7+G3ESb; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id mi2-20020a17090b4b4200b001e884b06acbsi8082481pjb.96.2022.06.16.10.51.11; Thu, 16 Jun 2022 10:51:23 -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=@gmail.com header.s=20210112 header.b=F7+G3ESb; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346787AbiFPRta (ORCPT + 99 others); Thu, 16 Jun 2022 13:49:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53846 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238181AbiFPRtC (ORCPT ); Thu, 16 Jun 2022 13:49:02 -0400 Received: from mail-pf1-x42d.google.com (mail-pf1-x42d.google.com [IPv6:2607:f8b0:4864:20::42d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 417764D621 for ; Thu, 16 Jun 2022 10:48:59 -0700 (PDT) Received: by mail-pf1-x42d.google.com with SMTP id u2so2123544pfc.2 for ; Thu, 16 Jun 2022 10:48:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=cbrfBk2owseXTl2TqGluY3ivP+501euUdLqfR5FVpCc=; b=F7+G3ESb9pcGIuGXoF2O/H03YvYsGpLhfNOWSQqYVP5yFLNGleH39xqFQ8cWIZuFho xg3heTbq6ePKtRc8GFH0juCyjezdh2hqyFjPBLzT9941kxHwTK7yLUeKVkiQKo6mDCxu se3LMMGqxW6HiTvu93X33WpwUBs73ecdVSU001ye3aHuc0r0loPqN+9Uj09NMTU9BWna ENe8DNgwYHvtpA6ITqyCZUYZN8mAOAXoWKj0lirO78K389Cubg2uLLRLQv4c9eITuXpW hzCgRhi/7HJwNubd85XqcCfY+TlKwnYPFZ+SI68tWv28Ig/OEhTEMpCtXj3Cf1NQPEVQ Vnzg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=cbrfBk2owseXTl2TqGluY3ivP+501euUdLqfR5FVpCc=; b=ekDrxr157AJEaTTiz0OPhPOuIA4q6udd4h29O/6yfcrEEa//ud6wnYaAKnPXHnVIgr YXeIoVtpapnietsgiErQy9dfMBI2aCBVBEBIxIzDgjVbGjMEH27I5ddypl4EYysqat0u 6GwcFrJ6Wgy364n/Za3Co1WYW+P3b8kDgLkYwgxEP5+K7pRFXcfGcjmRuehJ6neMqLG5 88+hd6j0uoO5Oe9MXftR11d9FOa04f+wMI5N1tyPiNMOYm3XxzQ9NbuzKYubRomQ3Q+8 xv50MClGSLtaTYnXKcwXlnpS40tiqFcUz/lBThk2HtvWttZt6A0g9NALUGR2F7rzaCRy JV8w== X-Gm-Message-State: AJIora92FRQ7oxvDSvyZHxDBpjVuUfEBMeYqGKveavyHniKK4XCCyzHQ 2rzBuC//FKb2wbI3O0zR1Xo= X-Received: by 2002:aa7:88cd:0:b0:51c:188e:fbeb with SMTP id k13-20020aa788cd000000b0051c188efbebmr5782611pff.81.1655401738804; Thu, 16 Jun 2022 10:48:58 -0700 (PDT) Received: from localhost.localdomain (c-67-174-241-145.hsd1.ca.comcast.net. [67.174.241.145]) by smtp.gmail.com with ESMTPSA id z21-20020a17090a8b9500b001e8520b211bsm1818289pjn.53.2022.06.16.10.48.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Jun 2022 10:48:58 -0700 (PDT) From: Yang Shi To: vbabka@suse.cz, kirill.shutemov@linux.intel.com, willy@infradead.org, zokeefe@google.com, linmiaohe@huawei.com, akpm@linux-foundation.org Cc: shy828301@gmail.com, linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: [v5 PATCH 7/7] doc: proc: fix the description to THPeligible Date: Thu, 16 Jun 2022 10:48:40 -0700 Message-Id: <20220616174840.1202070-8-shy828301@gmail.com> X-Mailer: git-send-email 2.26.3 In-Reply-To: <20220616174840.1202070-1-shy828301@gmail.com> References: <20220616174840.1202070-1-shy828301@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, 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 The THPeligible bit shows 1 if and only if the VMA is eligible for allocating THP and the THP is also PMD mappable. Some misaligned file VMAs may be eligible for allocating THP but the THP can't be mapped by PMD. Make this more explictly to avoid ambiguity. Reviewed-by: Zach O'Keefe Signed-off-by: Yang Shi --- Documentation/filesystems/proc.rst | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Documentation/filesystems/proc.rst b/Documentation/filesystems/proc.rst index 1bc91fb8c321..a5e41e636a1a 100644 --- a/Documentation/filesystems/proc.rst +++ b/Documentation/filesystems/proc.rst @@ -514,8 +514,10 @@ replaced by copy-on-write) part of the underlying shmem object out on swap. "SwapPss" shows proportional swap share of this mapping. Unlike "Swap", this does not take into account swapped out page of underlying shmem objects. "Locked" indicates whether the mapping is locked in memory or not. + "THPeligible" indicates whether the mapping is eligible for allocating THP -pages - 1 if true, 0 otherwise. It just shows the current status. +pages as well as the THP is PMD mappable or not - 1 if true, 0 otherwise. +It just shows the current status. "VmFlags" field deserves a separate description. This member represents the kernel flags associated with the particular virtual memory area in two letter -- 2.26.3