From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wi0-f182.google.com (mail-wi0-f182.google.com [209.85.212.182]) by kanga.kvack.org (Postfix) with ESMTP id 3AE0582FB0 for ; Tue, 6 Oct 2015 03:05:27 -0400 (EDT) Received: by wicgb1 with SMTP id gb1so150847168wic.1 for ; Tue, 06 Oct 2015 00:05:26 -0700 (PDT) Received: from mx2.suse.de (mx2.suse.de. [195.135.220.15]) by mx.google.com with ESMTPS id bx5si21713132wib.48.2015.10.06.00.05.26 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 06 Oct 2015 00:05:26 -0700 (PDT) Subject: Re: [PATCH v4 1/4] mm, documentation: clarify /proc/pid/status VmSwap limitations References: <1443792951-13944-1-git-send-email-vbabka@suse.cz> <1443792951-13944-2-git-send-email-vbabka@suse.cz> From: Vlastimil Babka Message-ID: <561372B3.60504@suse.cz> Date: Tue, 6 Oct 2015 09:05:23 +0200 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-linux-mm@kvack.org List-ID: To: Hugh Dickins Cc: linux-mm@kvack.org, Jerome Marchand , Andrew Morton , linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, Michal Hocko , "Kirill A. Shutemov" , Cyrill Gorcunov , Randy Dunlap , linux-s390@vger.kernel.org, Martin Schwidefsky , Heiko Carstens , Peter Zijlstra , Paul Mackerras , Arnaldo Carvalho de Melo , Oleg Nesterov , Linux API , Konstantin Khlebnikov On 10/05/2015 03:05 AM, Hugh Dickins wrote: > On Fri, 2 Oct 2015, Vlastimil Babka wrote: >> --- a/Documentation/filesystems/proc.txt >> +++ b/Documentation/filesystems/proc.txt >> @@ -239,6 +239,8 @@ Table 1-2: Contents of the status files (as of 4.1) >> VmPTE size of page table entries >> VmPMD size of second level page tables >> VmSwap size of swap usage (the number of referred swapents) >> + by anonymous private data (shmem swap usage is not >> + included) > > I have difficulty in reading "size of swap usage (the number of referred > swapents) by anonymous private data (shmem swap usage is not included)". > > Luckily, VmSwap never was "the number of referred swapents", it's in kB. > So I suggest amount of swap used by anonymous private data > (shmem swap usage is not included) Good point, thanks! > for which you can assume Acked-by: Hugh Dickins > > Hugh > -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org