Re: [PATCH v2] oom-kill: add lowmem usage aware oom kill handling

From: Minchan Kim
Date: Fri Jan 22 2010 - 10:41:46 EST

2010/1/23 KAMEZAWA Hiroyuki <kamezawa.hiroyu@xxxxxxxxxxxxxx>:
>> <snip>
>>> @@ -475,7 +511,7 @@ void mem_cgroup_out_of_memory(struct mem
>>> Â Â Âread_lock(&tasklist_lock);
>>> Âretry:
>>> - Â Âp = select_bad_process(&points, mem);
>>> + Â Âp = select_bad_process(&points, mem, CONSTRAINT_NONE);
>> Why do you fix this with only CONSTRAINT_NONE?
>> I think we can know CONSTRAINT_LOWMEM with gfp_mask in here.
> memcg is just for accounting anon/file pages. Then, it's never
> cause lowmem oom problem (any memory is ok for memcg).

Okay. Thanks for the explanation.
Kind regards,
Minchan Kim
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at