Messages in this thread | | | From | Mel Gorman <> | Subject | [PATCH 0/2] Avoid unnecessary overhead in fault paths due to memcg and rss stats | Date | Wed, 23 Jul 2014 12:24:14 +0100 |
| |
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
| |