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

2016-04-07 Thread Christoph Lameter
On Thu, 7 Apr 2016, 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. The first sentence

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

2016-04-07 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 Suggested-by: Kirill A. Shutemov Acke