While looking for something else entirely I spotted two small issues in the page fault fast path. Enabling memcg takes the RCU read lock unnecessarily even when the task is not part of a memcg and we fiddle with RSS stats more than necessary. Details in the patches.
include/linux/memcontrol.h | 8 ++++++++ include/linux/mm_types.h | 1 - mm/memory.c | 32 +++++++++++++------------------- 3 files changed, 21 insertions(+), 20 deletions(-) -- 1.8.4.5 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/