Loading include/linux/oom.h +3 −0 Original line number Diff line number Diff line Loading @@ -84,6 +84,9 @@ static inline void oom_killer_enable(void) extern struct task_struct *find_lock_task_mm(struct task_struct *p); extern void dump_tasks(const struct mem_cgroup *memcg, const nodemask_t *nodemask); /* sysctls */ extern int sysctl_oom_dump_tasks; extern int sysctl_oom_kill_allocating_task; Loading mm/oom_kill.c +1 −1 Original line number Diff line number Diff line Loading @@ -343,7 +343,7 @@ static struct task_struct *select_bad_process(unsigned int *ppoints, * State information includes task's pid, uid, tgid, vm size, rss, nr_ptes, * swapents, oom_score_adj value, and name. */ static void dump_tasks(const struct mem_cgroup *memcg, const nodemask_t *nodemask) void dump_tasks(const struct mem_cgroup *memcg, const nodemask_t *nodemask) { struct task_struct *p; struct task_struct *task; Loading Loading
include/linux/oom.h +3 −0 Original line number Diff line number Diff line Loading @@ -84,6 +84,9 @@ static inline void oom_killer_enable(void) extern struct task_struct *find_lock_task_mm(struct task_struct *p); extern void dump_tasks(const struct mem_cgroup *memcg, const nodemask_t *nodemask); /* sysctls */ extern int sysctl_oom_dump_tasks; extern int sysctl_oom_kill_allocating_task; Loading
mm/oom_kill.c +1 −1 Original line number Diff line number Diff line Loading @@ -343,7 +343,7 @@ static struct task_struct *select_bad_process(unsigned int *ppoints, * State information includes task's pid, uid, tgid, vm size, rss, nr_ptes, * swapents, oom_score_adj value, and name. */ static void dump_tasks(const struct mem_cgroup *memcg, const nodemask_t *nodemask) void dump_tasks(const struct mem_cgroup *memcg, const nodemask_t *nodemask) { struct task_struct *p; struct task_struct *task; Loading