diff options
author | Johannes Weiner <hannes@cmpxchg.org> | 2013-07-04 00:04:51 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-07-04 01:07:40 +0200 |
commit | 519ebea3bf6df45439e79c54bda1d9e29fe13a64 (patch) | |
tree | 74b52e13824051420a9901499de093c347338471 /arch/frv | |
parent | mm, vmalloc: use clamp() to simplify code (diff) | |
download | linux-519ebea3bf6df45439e79c54bda1d9e29fe13a64.tar.xz linux-519ebea3bf6df45439e79c54bda1d9e29fe13a64.zip |
mm: memcontrol: factor out reclaim iterator loading and updating
mem_cgroup_iter() is too hard to follow. Factor out the lockless reclaim
iterator loading and updating so it's easier to follow the big picture.
Also document the iterator invalidation mechanism a bit more extensively.
Signed-off-by: Johannes Weiner <hannes@cmpxchg.org>
Reported-by: Tejun Heo <tj@kernel.org>
Reviewed-by: Tejun Heo <tj@kernel.org>
Acked-by: Michal Hocko <mhocko@suse.cz>
Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Cc: Glauber Costa <glommer@parallels.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/frv')
0 files changed, 0 insertions, 0 deletions