| Date | Mon, 28 Nov 2011 06:15:05 +0530 | Subject | Re: [patch 3/8] mm: memcg: clean up fault accounting | From | Balbir Singh <> |
| |
On Wed, Nov 23, 2011 at 9:12 PM, Johannes Weiner <hannes@cmpxchg.org> wrote: > From: Johannes Weiner <jweiner@redhat.com> > > The fault accounting functions have a single, memcg-internal user, so > they don't need to be global. In fact, their one-line bodies can be > directly folded into the caller. And since faults happen one at a > time, use this_cpu_inc() directly instead of this_cpu_add(foo, 1). >
Acked-by: Balbir Singh <bsingharora@gmail.com>
Balbir Singh -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
|