|
@@ -176,7 +176,7 @@ static bool oom_unkillable_task(struct task_struct *p,
|
|
unsigned int oom_badness(struct task_struct *p, struct mem_cgroup *mem,
|
|
unsigned int oom_badness(struct task_struct *p, struct mem_cgroup *mem,
|
|
const nodemask_t *nodemask, unsigned long totalpages)
|
|
const nodemask_t *nodemask, unsigned long totalpages)
|
|
{
|
|
{
|
|
- int points;
|
|
|
|
|
|
+ long points;
|
|
|
|
|
|
if (oom_unkillable_task(p, mem, nodemask))
|
|
if (oom_unkillable_task(p, mem, nodemask))
|
|
return 0;
|
|
return 0;
|