Re: [PATCH v3 1/2] mm, vmstat: calculate particular vm event

2016-03-19 Thread Ebru Akagunduz
On Wed, Mar 16, 2016 at 04:54:13PM +0100, Vlastimil Babka wrote: > On 03/14/2016 10:40 PM, Ebru Akagunduz wrote: > >Currently, vmstat can calculate specific vm event with all_vm_events() > >however it allocates all vm events to stack. This patch introduces > >a helper to sum value of a specific vm

Re: [PATCH v3 1/2] mm, vmstat: calculate particular vm event

2016-03-19 Thread Vlastimil Babka
On 03/14/2016 10:40 PM, Ebru Akagunduz wrote: Currently, vmstat can calculate specific vm event with all_vm_events() however it allocates all vm events to stack. This patch introduces a helper to sum value of a specific vm event over all cpu, without loading all the events. Signed-off-by: Ebru A

Re: [PATCH v3 1/2] mm, vmstat: calculate particular vm event

2016-03-14 Thread Rik van Riel
On Mon, 2016-03-14 at 23:40 +0200, Ebru Akagunduz wrote: > Currently, vmstat can calculate specific vm event with > all_vm_events() > however it allocates all vm events to stack. This patch introduces > a helper to sum value of a specific vm event over all cpu, without > loading all the events. >

[PATCH v3 1/2] mm, vmstat: calculate particular vm event

2016-03-14 Thread Ebru Akagunduz
Currently, vmstat can calculate specific vm event with all_vm_events() however it allocates all vm events to stack. This patch introduces a helper to sum value of a specific vm event over all cpu, without loading all the events. Signed-off-by: Ebru Akagunduz Acked-by: Kirill A. Shutemov --- Chan