aboutsummaryrefslogtreecommitdiff
path: root/lib/cpu-notifier-error-inject.c
diff options
context:
space:
mode:
authorKAMEZAWA Hiroyuki <[email protected]>2011-07-08 15:39:43 -0700
committerLinus Torvalds <[email protected]>2011-07-08 21:14:44 -0700
commit453a9bf347f1e22a5bb3605ced43b2366921221d (patch)
treedfe355892b8ace86f74f6b8a34ad86da159f697d /lib/cpu-notifier-error-inject.c
parent4d0c066d29f030d47d19678f8008933e67dd3b72 (diff)
memcg: fix numa scan information update to be triggered by memory event
commit 889976dbcb12 ("memcg: reclaim memory from nodes in round-robin order") adds an numa node round-robin for memcg. But the information is updated once per 10sec. This patch changes the update trigger from jiffies to memcg's event count. After this patch, numa scan information will be updated when we see 1024 events of pagein/pageout under a memcg. [[email protected]: attempt to repair code layout] Signed-off-by: KAMEZAWA Hiroyuki <[email protected]> Cc: Michal Hocko <[email protected]> Cc: Ying Han <[email protected]> Cc: Johannes Weiner <[email protected]> Cc: Daisuke Nishimura <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/cpu-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions