[BUGFIX][PATCH v6] memcg: fix percpu cached charge drainingfrequency

From: KAMEZAWA Hiroyuki
Date: Tue Jun 14 2011 - 21:56:58 EST


This is a repleacement for
memcg-fix-percpu-cached-charge-draining-frequency.patch
+
memcg-fix-percpu-cached-charge-draining-frequency-fix.patch


Changelog:
- removed unnecessary rcu_read_lock()
- removed a fix for softlimit case (move to another independent patch)
- make mutex static.
- applied comment updates from Andrew Morton.

A patch for softlimit will follow this.

==