Received: by 10.192.165.156 with SMTP id m28csp961379imm; Wed, 18 Apr 2018 01:15:37 -0700 (PDT) X-Google-Smtp-Source: AIpwx4+As/GVl6XBPfA7d4IooTqgOsd/wR/0no72b3swYvm/pyXgm7uS28gprUSFteCZc5YdP7hv X-Received: by 2002:a17:902:206:: with SMTP id 6-v6mr1171276plc.376.1524039337626; Wed, 18 Apr 2018 01:15:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524039337; cv=none; d=google.com; s=arc-20160816; b=Cf6Q3qYd+aLV4xHWH7Ck6mWUc/bRZ8A5HP5zBQcP21H87ldc5hTJXgE0XhOMHK0n+K NsT4Yo58dLsacQk6dMqd/gE+gWuKTuMHM8FOuZ7824W0IJJNr4njznjAdat2LhtgglFA FljkZsi+pg14RUCxdMe2zaCIX8iacJ2Q7BCXSrycr0KMo/pJI/ZpVD0rvr9l9SIpU7z8 v3Q2phTnOBrTIQ11GMoEzCglHk8MW5hjRy6sxsb7QFOmWJI2y203DEUhTpMkWTaymYTr RaTyVLultSyqOITjV0dBDiSTxKL2wxcflAvwLYrGLPApIH6tS3kql6GDvb2uySKPD9GT gufA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:references:in-reply-to:date :subject:cc:to:from:arc-authentication-results; bh=DGZ4vkzEg5xFm3CWX7hM9xdSP4W4+tR6J6aTrPppJOo=; b=buv9UosI1kCXuWwm8OHHntegNDS/GaTCIV+Y7MaYzAwAVe219don5E/yGr4Pm47DYd PDz5gVUIT7g3B8ITUp0+XlH0xMM1BVicHhPK0SNUGhsfoEU0yv+24r8y8Gwk8nj/LznF S/VI/0wj6b96172UOFwixbK1q86zac+PaE0Xd4X9y6KTp+7pH7BdLfrp5BPDNii1+WlI 0O/Za6OWk6PIeQulAyZt0uBIVUGWHFFmeVUNQlrB4Cm9ISrb+E0aIwl610/x7dkVmCq+ mLEUVbg4dhoqiIW03YNUI9kHtrAWX8eVrNJnikk50E+i7zvHM0g2lk1XSyaNyLyWxsEt D1zQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d12si679127pgu.663.2018.04.18.01.15.23; Wed, 18 Apr 2018 01:15:37 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753464AbeDRINS (ORCPT + 99 others); Wed, 18 Apr 2018 04:13:18 -0400 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:47982 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753149AbeDRIIK (ORCPT ); Wed, 18 Apr 2018 04:08:10 -0400 Received: from pps.filterd (m0098394.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id w3I86SmB071036 for ; Wed, 18 Apr 2018 04:08:10 -0400 Received: from e06smtp12.uk.ibm.com (e06smtp12.uk.ibm.com [195.75.94.108]) by mx0a-001b2d01.pphosted.com with ESMTP id 2hdx30jkng-1 (version=TLSv1.2 cipher=AES256-SHA256 bits=256 verify=NOT) for ; Wed, 18 Apr 2018 04:08:09 -0400 Received: from localhost by e06smtp12.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Wed, 18 Apr 2018 09:08:06 +0100 Received: from b06cxnps4074.portsmouth.uk.ibm.com (9.149.109.196) by e06smtp12.uk.ibm.com (192.168.101.142) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Wed, 18 Apr 2018 09:08:03 +0100 Received: from d06av23.portsmouth.uk.ibm.com (d06av23.portsmouth.uk.ibm.com [9.149.105.59]) by b06cxnps4074.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id w3I882rf57278630; Wed, 18 Apr 2018 08:08:02 GMT Received: from d06av23.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id E8E8DA4059; Wed, 18 Apr 2018 09:00:10 +0100 (BST) Received: from d06av23.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 1E297A405B; Wed, 18 Apr 2018 09:00:09 +0100 (BST) Received: from rapoport-lnx (unknown [9.148.205.155]) by d06av23.portsmouth.uk.ibm.com (Postfix) with ESMTPS; Wed, 18 Apr 2018 09:00:09 +0100 (BST) Received: by rapoport-lnx (sSMTP sendmail emulation); Wed, 18 Apr 2018 11:08:00 +0300 From: Mike Rapoport To: Jonathan Corbet Cc: Andrew Morton , Alexander Viro , Matthew Wilcox , linux-doc@vger.kernel.org, linux-mm@kvack.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, Mike Rapoport Subject: [PATCH 3/7] docs/vm: pagemap: formatting and spelling updates Date: Wed, 18 Apr 2018 11:07:46 +0300 X-Mailer: git-send-email 2.7.4 In-Reply-To: <1524038870-413-1-git-send-email-rppt@linux.vnet.ibm.com> References: <1524038870-413-1-git-send-email-rppt@linux.vnet.ibm.com> X-TM-AS-GCONF: 00 x-cbid: 18041808-0008-0000-0000-000004EC91C4 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 18041808-0009-0000-0000-00001E809A7C Message-Id: <1524038870-413-4-git-send-email-rppt@linux.vnet.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2018-04-18_02:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 impostorscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1709140000 definitions=main-1804180076 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Signed-off-by: Mike Rapoport --- Documentation/vm/pagemap.rst | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/Documentation/vm/pagemap.rst b/Documentation/vm/pagemap.rst index d54b4bf..9644bc0 100644 --- a/Documentation/vm/pagemap.rst +++ b/Documentation/vm/pagemap.rst @@ -13,7 +13,7 @@ There are four components to pagemap: * ``/proc/pid/pagemap``. This file lets a userspace process find out which physical frame each virtual page is mapped to. It contains one 64-bit value for each virtual page, containing the following data (from - fs/proc/task_mmu.c, above pagemap_read): + ``fs/proc/task_mmu.c``, above pagemap_read): * Bits 0-54 page frame number (PFN) if present * Bits 0-4 swap type if swapped @@ -36,7 +36,7 @@ There are four components to pagemap: precisely which pages are mapped (or in swap) and comparing mapped pages between processes. - Efficient users of this interface will use /proc/pid/maps to + Efficient users of this interface will use ``/proc/pid/maps`` to determine which areas of memory are actually mapped and llseek to skip over unmapped regions. @@ -79,11 +79,11 @@ There are four components to pagemap: memory cgroup each page is charged to, indexed by PFN. Only available when CONFIG_MEMCG is set. -Short descriptions to the page flags: -===================================== +Short descriptions to the page flags +==================================== 0 - LOCKED - page is being locked for exclusive access, eg. by undergoing read/write IO + page is being locked for exclusive access, e.g. by undergoing read/write IO 7 - SLAB page is managed by the SLAB/SLOB/SLUB/SLQB kernel memory allocator When compound page is used, SLUB/SLQB will only set this flag on the head @@ -132,7 +132,7 @@ IO related page flags ie. for file backed page: (in-memory data revision >= on-disk one) 4 - DIRTY page has been written to, hence contains new data - ie. for file backed page: (in-memory data revision > on-disk one) + i.e. for file backed page: (in-memory data revision > on-disk one) 8 - WRITEBACK page is being synced to disk @@ -145,7 +145,7 @@ LRU related page flags page is in the active LRU list 18 - UNEVICTABLE page is in the unevictable (non-)LRU list It is somehow pinned and - not a candidate for LRU page reclaims, eg. ramfs pages, + not a candidate for LRU page reclaims, e.g. ramfs pages, shmctl(SHM_LOCK) and mlock() memory segments 2 - REFERENCED page has been referenced since last LRU list enqueue/requeue @@ -156,7 +156,7 @@ LRU related page flags 12 - ANON a memory mapped page that is not part of a file 13 - SWAPCACHE - page is mapped to swap space, ie. has an associated swap entry + page is mapped to swap space, i.e. has an associated swap entry 14 - SWAPBACKED page is backed by swap/RAM -- 2.7.4