From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752079AbbJFHFa (ORCPT ); Tue, 6 Oct 2015 03:05:30 -0400 Received: from mx2.suse.de ([195.135.220.15]:49974 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751700AbbJFHF1 (ORCPT ); Tue, 6 Oct 2015 03:05:27 -0400 Subject: Re: [PATCH v4 1/4] mm, documentation: clarify /proc/pid/status VmSwap limitations To: Hugh Dickins References: <1443792951-13944-1-git-send-email-vbabka@suse.cz> <1443792951-13944-2-git-send-email-vbabka@suse.cz> 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 From: Vlastimil Babka Message-ID: <561372B3.60504@suse.cz> Date: Tue, 6 Oct 2015 09:05:23 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 >