Re: [PATCH 4/5] mm, shmem: Add shmem swap memory accounting

2014-08-01 Thread Jerome Marchand
On 08/01/2014 07:05 AM, Hugh Dickins wrote: > On Tue, 22 Jul 2014, Jerome Marchand wrote: > >> Adds get_mm_shswap() which compute the size of swaped out shmem. It >> does so by pagewalking the mm and using the new shmem_locate() function >> to get the physical location of shmem pages. >> The resul

Re: [PATCH 4/5] mm, shmem: Add shmem swap memory accounting

2014-07-31 Thread Hugh Dickins
On Tue, 22 Jul 2014, Jerome Marchand wrote: > Adds get_mm_shswap() which compute the size of swaped out shmem. It > does so by pagewalking the mm and using the new shmem_locate() function > to get the physical location of shmem pages. > The result is displayed in the new VmShSw line of /proc//stat

[PATCH 4/5] mm, shmem: Add shmem swap memory accounting

2014-07-22 Thread Jerome Marchand
Adds get_mm_shswap() which compute the size of swaped out shmem. It does so by pagewalking the mm and using the new shmem_locate() function to get the physical location of shmem pages. The result is displayed in the new VmShSw line of /proc//status. Use mm_walk an shmem_locate() to account paged ou

[PATCH 4/5] mm, shmem: Add shmem swap memory accounting

2014-07-01 Thread Jerome Marchand
Adds get_mm_shswap() which compute the size of swaped out shmem. It does so by pagewalking the mm and using the new shmem_locate() function to get the physical location of shmem pages. The result is displayed in the new VmShSw line of /proc//status. Use mm_walk an shmem_locate() to account paged ou