Re: oom-killer adjustments

From: Rik van Riel
Date: Sat Apr 03 2004 - 15:24:19 EST


On Sat, 3 Apr 2004, Kurt Garloff wrote:
> On Sat, Apr 03, 2004 at 01:12:07PM -0500, Rik van Riel wrote:
> > Shouldn't such an adjustment be inherited at fork time,
> > if we decide we want it in the kernel ?
>
> It is inherited. Why do you think it's not?

Oh duh, dup_task_struct() copies everything in 2.6.

ISTR 2.2 or 2.4 was slightly different, copying
(some?) things by hand...

--
"Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are,
by definition, not smart enough to debug it." - Brian W. Kernighan

-
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/