summaryrefslogtreecommitdiffstats
path: root/mm/oom_kill.c
diff options
context:
space:
mode:
authorMuchun Song <songmuchun@bytedance.com>2021-11-05 13:37:59 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2021-11-06 13:30:35 -0700
commit3eef11279ba5936b1554a0dccb1cea8345e5e2a5 (patch)
tree8ac79c23410389d1ab99b3cca4c9e4f63bb8cbd4 /mm/oom_kill.c
parente80216d9f1f5c90b3cab834cd4fb492d731f70aa (diff)
downloadlinux-stable-3eef11279ba5936b1554a0dccb1cea8345e5e2a5.tar.gz
linux-stable-3eef11279ba5936b1554a0dccb1cea8345e5e2a5.tar.bz2
linux-stable-3eef11279ba5936b1554a0dccb1cea8345e5e2a5.zip
mm: list_lru: only add memcg-aware lrus to the global lru list
The non-memcg-aware lru is always skiped when traversing the global lru list, which is not efficient. We can only add the memcg-aware lru to the global lru list instead to make traversing more efficient. Link: https://lkml.kernel.org/r/20211025124353.55781-1-songmuchun@bytedance.com Signed-off-by: Muchun Song <songmuchun@bytedance.com> Cc: Johannes Weiner <hannes@cmpxchg.org> Cc: Matthew Wilcox (Oracle) <willy@infradead.org> Cc: Michal Hocko <mhocko@kernel.org> Cc: Roman Gushchin <guro@fb.com> Cc: Shakeel Butt <shakeelb@google.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/oom_kill.c')
0 files changed, 0 insertions, 0 deletions