Flip the switch from per-zone lru locking to per-memcg per-zone lru locking. Signed-off-by: Hugh Dickins <hughd@xxxxxxxxxx> --- include/linux/swap.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- mmotm.orig/include/linux/swap.h 2012-02-18 11:58:09.047525220 -0800 +++ mmotm/include/linux/swap.h 2012-02-18 11:58:15.659525376 -0800 @@ -252,8 +252,8 @@ static inline void lru_cache_add_file(st static inline spinlock_t *lru_lockptr(struct lruvec *lruvec) { - /* Still use per-zone lru_lock */ - return &lruvec->zone->lruvec.lru_lock; + /* Now use per-memcg-per-zone lru_lock */ + return &lruvec->lru_lock; } static inline void lock_lruvec(struct lruvec *lruvec) -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@xxxxxxxxx. For more info on Linux MM, see: http://www.linux-mm.org/ . Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/ Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>