Re: [PATCH] mm: export NR_SHMEM via sysinfo(2) / si_meminfo() interfaces

2014-06-25 Thread KOSAKI Motohiro
> I agree that reporting the amount of shared pages in that historically fashion > might not be interesting for userspace tools resorting to sysinfo(2), > nowadays. > > OTOH, our documentation implies we do return shared memory there, and FWIW, > considering the other places we do export the

Re: [PATCH] mm: export NR_SHMEM via sysinfo(2) / si_meminfo() interfaces

2014-06-25 Thread Rafael Aquini
; Rik van Riel; Mel Gorman; Johannes > > Weiner; Motohiro Kosaki JP; linux- > > ker...@vger.kernel.org > > Subject: Re: [PATCH] mm: export NR_SHMEM via sysinfo(2) / si_meminfo() > > interfaces > > > > On Wed, Jun 25, 2014 at 12:41:17PM -0700, Motohiro Kosaki wr

RE: [PATCH] mm: export NR_SHMEM via sysinfo(2) / si_meminfo() interfaces

2014-06-25 Thread Motohiro Kosaki
nel.org > Subject: Re: [PATCH] mm: export NR_SHMEM via sysinfo(2) / si_meminfo() > interfaces > > On Wed, Jun 25, 2014 at 12:41:17PM -0700, Motohiro Kosaki wrote: > > > > > > > -Original Message- > > > From: Rafael Aquini [mailto:aqu...@redhat.co

RE: [PATCH] mm: export NR_SHMEM via sysinfo(2) / si_meminfo() interfaces

2014-06-25 Thread Motohiro Kosaki
; JP; linux-kernel@vger.kernel.org > Subject: RE: [PATCH] mm: export NR_SHMEM via sysinfo(2) / si_meminfo() > interfaces > > > > > -Original Message- > > From: Rafael Aquini [mailto:aqu...@redhat.com] > > Sent: Wednesday, June 25, 2014 2:40 PM > > To: li

Re: [PATCH] mm: export NR_SHMEM via sysinfo(2) / si_meminfo() interfaces

2014-06-25 Thread Rafael Aquini
el Gorman; Johannes Weiner; Motohiro > > Kosaki JP; linux-kernel@vger.kernel.org > > Subject: [PATCH] mm: export NR_SHMEM via sysinfo(2) / si_meminfo() > > interfaces > > > > This patch leverages the addition of explicit accounting for pages used by > > shm

RE: [PATCH] mm: export NR_SHMEM via sysinfo(2) / si_meminfo() interfaces

2014-06-25 Thread Motohiro Kosaki
t: [PATCH] mm: export NR_SHMEM via sysinfo(2) / si_meminfo() interfaces > > This patch leverages the addition of explicit accounting for pages used by > shmem/tmpfs -- "4b02108 mm: oom analysis: add shmem > vmstat" -- in order to make the users of sysinfo(2) and si_memin

[PATCH] mm: export NR_SHMEM via sysinfo(2) / si_meminfo() interfaces

2014-06-25 Thread Rafael Aquini
This patch leverages the addition of explicit accounting for pages used by shmem/tmpfs -- "4b02108 mm: oom analysis: add shmem vmstat" -- in order to make the users of sysinfo(2) and si_meminfo*() friends aware of that vmstat entry consistently across the interfaces. Signed-off-by: Rafael Aquini

[PATCH] mm: export NR_SHMEM via sysinfo(2) / si_meminfo() interfaces

2014-06-25 Thread Rafael Aquini
This patch leverages the addition of explicit accounting for pages used by shmem/tmpfs -- 4b02108 mm: oom analysis: add shmem vmstat -- in order to make the users of sysinfo(2) and si_meminfo*() friends aware of that vmstat entry consistently across the interfaces. Signed-off-by: Rafael Aquini

RE: [PATCH] mm: export NR_SHMEM via sysinfo(2) / si_meminfo() interfaces

2014-06-25 Thread Motohiro Kosaki
-Original Message- From: Rafael Aquini [mailto:aqu...@redhat.com] Sent: Wednesday, June 25, 2014 2:40 PM To: linux...@kvack.org Cc: Andrew Morton; Rik van Riel; Mel Gorman; Johannes Weiner; Motohiro Kosaki JP; linux-kernel@vger.kernel.org Subject: [PATCH] mm: export NR_SHMEM via

Re: [PATCH] mm: export NR_SHMEM via sysinfo(2) / si_meminfo() interfaces

2014-06-25 Thread Rafael Aquini
; linux-kernel@vger.kernel.org Subject: [PATCH] mm: export NR_SHMEM via sysinfo(2) / si_meminfo() interfaces This patch leverages the addition of explicit accounting for pages used by shmem/tmpfs -- 4b02108 mm: oom analysis: add shmem vmstat -- in order to make the users of sysinfo(2

RE: [PATCH] mm: export NR_SHMEM via sysinfo(2) / si_meminfo() interfaces

2014-06-25 Thread Motohiro Kosaki
@vger.kernel.org Subject: RE: [PATCH] mm: export NR_SHMEM via sysinfo(2) / si_meminfo() interfaces -Original Message- From: Rafael Aquini [mailto:aqu...@redhat.com] Sent: Wednesday, June 25, 2014 2:40 PM To: linux...@kvack.org Cc: Andrew Morton; Rik van Riel; Mel Gorman; Johannes Weiner

RE: [PATCH] mm: export NR_SHMEM via sysinfo(2) / si_meminfo() interfaces

2014-06-25 Thread Motohiro Kosaki
Morton; Rik van Riel; Mel Gorman; Johannes Weiner; Motohiro Kosaki JP; linux-kernel@vger.kernel.org Subject: [PATCH] mm: export NR_SHMEM via sysinfo(2) / si_meminfo() interfaces This patch leverages the addition of explicit accounting for pages used by shmem/tmpfs -- 4b02108 mm: oom

Re: [PATCH] mm: export NR_SHMEM via sysinfo(2) / si_meminfo() interfaces

2014-06-25 Thread Rafael Aquini
; Motohiro Kosaki JP; linux- ker...@vger.kernel.org Subject: Re: [PATCH] mm: export NR_SHMEM via sysinfo(2) / si_meminfo() interfaces On Wed, Jun 25, 2014 at 12:41:17PM -0700, Motohiro Kosaki wrote: -Original Message- From: Rafael Aquini [mailto:aqu...@redhat.com

Re: [PATCH] mm: export NR_SHMEM via sysinfo(2) / si_meminfo() interfaces

2014-06-25 Thread KOSAKI Motohiro
I agree that reporting the amount of shared pages in that historically fashion might not be interesting for userspace tools resorting to sysinfo(2), nowadays. OTOH, our documentation implies we do return shared memory there, and FWIW, considering the other places we do export the shared