commit | fda3d69be9fe7a24ad32b840cb2ed7c30b6ba1c9 | [log] [tgz] |
---|---|---|
author | Michal Hocko <mhocko@kernel.org> | Thu May 19 17:11:34 2016 -0700 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Thu May 19 19:12:14 2016 -0700 |
tree | 573d6c40ed432dccaad8c8fb77ff5b2781150462 | |
parent | 4ee815be1d34a6f254b3d09bdebcb27f294f2bd3 [diff] |
mm/memcontrol.c:mem_cgroup_select_victim_node(): clarify comment > The comment seems to have not much to do with the code? I guess the comment tries to say that the code path is triggered when we charge the page which happens _before_ it is added to the LRU list and so last_scanned_node might contain the stale data. Cc: Johannes Weiner <hannes@cmpxchg.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>