lkml.org 
[lkml]   [2014]   [Jul]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/2] Avoid unnecessary overhead in fault paths due to memcg and rss stats
Date
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



\
 
 \ /
  Last update: 2014-07-26 07:21    [W:0.483 / U:0.188 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site