mm-oom_kill-change-comment-and-rename-is_dump_unreclaim_slabs.patch removed from -mm tree
The patch titled
Subject: mm/oom_kill: change comment and rename is_dump_unreclaim_slabs()
has been removed from the -mm tree. Its filename was
mm-oom_kill-change-comment-and-rename-is_dump_unreclaim_slabs.patch
This patch was dropped because it was merged into mainline or a subsystem tree
------------------------------------------------------
From: Hui Su <[email protected]>
Subject: mm/oom_kill: change comment and rename is_dump_unreclaim_slabs()
Change the comment of is_dump_unreclaim_slabs(), it just check whether nr_unreclaimable slabs amount is greater than user memory, and explain why we dump unreclaim slabs.
Rename it to should_dump_unreclaim_slab() maybe better.
---
mm/oom_kill.c | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-)
mm/oom_kill.c renamed from mm/oom_kill.c~mm-oom_kill-change-comment-and-rename-is_dump_unreclaim_slabs +8 -6
@@ -170,11 +170,13 @@ static bool oom_unkillable_task(struct treturn false; } -/* -* Print out unreclaimble slabs info when unreclaimable slabs amount is greater -* than all user memory (LRU pages) -*/ -static bool is_dump_unreclaim_slabs (void ) +/** +* Check whether unreclaimable slab amount is greater than +* all user memory(LRU pages). +* dump_unreclaimable_slab() could help in the case that +* oom due to too much unreclaimable slab used by kernel. +*/ +static bool should_dump_unreclaim_slab (void ) {unsigned long nr_lru;
@@ -463,7 +465,7 @@ static void dump_header(struct oom_contrmem_cgroup_print_oom_meminfo (oc->memcg); else {show_mem (SHOW_MEM_FILTER_NODES , oc->nodemask); -if (is_dump_unreclaim_slabs ()) +if (should_dump_unreclaim_slab ())dump_unreclaimable_slab (); }if (sysctl_oom_dump_tasks)
_
Patches currently in -mm which might be from [email protected] are
fs-proc-make-pde_get-return-nothing.patch acctc-use-elif-instead-of-end-and-elif.patch mm-memcontrol-rewrite-mem_cgroup_page_lruvec.patch