lkml.org 
[lkml]   [2016]   [Apr]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v5 1/2] mm, vmstat: calculate particular vm event
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 is inaccurate. all_vm_events() takes a pointer to an
array of of counters and does not allocate on the stack. Fix this and
then add

Acked-by: Christoph Lameter <cl@linux.com>


\
 
 \ /
  Last update: 2016-04-07 23:01    [W:0.068 / U:0.164 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site