Re: [PATCH v2]mm/oom-kill: direct hardware access processes shouldget bonus

From: David Rientjes
Date: Tue Nov 30 2010 - 15:05:48 EST


On Tue, 30 Nov 2010, KOSAKI Motohiro wrote:

> > I needed a small bias for CAP_SYS_ADMIN tasks so I chose 3% since it's the
> > same proportion used elsewhere in the kernel and works nicely since the
> > badness score is now a proportion.
>
> Why? Is this important than X?
>

We have always preferred to break ties between applications by not
preferring the root task over the user task in the oom killer. If you'd
like to remove this bonus for CAP_SYS_ADMIN, please propose a patch.
Thanks!
--
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/