Re: [PATCH 3/9] oom: make oom_unkillable_task() helper function

From: KOSAKI Motohiro
Date: Wed Jun 30 2010 - 05:26:33 EST


> On Thu, 17 Jun 2010, KOSAKI Motohiro wrote:
>
> >
> > Now, we have the same task check in two places. Unify it.
> >
>
> We should exclude tasks from select_bad_process() and oom_kill_process()
> by having badness() return a score of 0, just like it's done for
> OOM_DISABLE.

No. again, select_bad_process() have meaningful check order.


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/