sched/numa: Use unsigned longs for numa group fault stats
authorMel Gorman <mgorman@suse.de>
Mon, 7 Oct 2013 10:29:40 +0000 (11:29 +0100)
committerIngo Molnar <mingo@kernel.org>
Wed, 9 Oct 2013 12:48:23 +0000 (14:48 +0200)
commit989348b5fc2367d6880d23a1c779a90bbb6f9baf
treecc5b883e5e2534b6a29c01bee153efd8daf445d5
parentde1c9ce6f07fec0381a39a9d0b379ea35aa1167f
sched/numa: Use unsigned longs for numa group fault stats

As Peter says "If you're going to hold locks you can also do away with all
that atomic_long_*() nonsense". Lock aquisition moved slightly to protect
the updates.

Signed-off-by: Mel Gorman <mgorman@suse.de>
Reviewed-by: Rik van Riel <riel@redhat.com>
Cc: Andrea Arcangeli <aarcange@redhat.com>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Cc: Srikar Dronamraju <srikar@linux.vnet.ibm.com>
Signed-off-by: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/1381141781-10992-63-git-send-email-mgorman@suse.de
Signed-off-by: Ingo Molnar <mingo@kernel.org>
kernel/sched/fair.c