Re: [PATCH] strict VM overcommit accounting for 2.4.32/2.4.33-pre1

From: Barry K. Nathan
Date: Fri Dec 30 2005 - 15:22:06 EST


On 12/30/05, Al Boldi <a1426z@xxxxxxxxx> wrote:
> Thanks a lot!
>
> > +3 - (NEW) paranoid overcommit The total address space commit
> > + for the system is not permitted to exceed swap. The machine
> > + will never kill a process accessing pages it has mapped
> > + except due to a bug (ie report it!)
>
> This one isn't in 2.6, which is critical for a stable system.

I mentioned in my original post (maybe I wasn't clear enough) that
this is only in the documentation and not in the actual code (i.e. the
code has no advantage over 2.6 in this regard). This error comes from
the 2.4-ac/pac kernels from which this documentation originally comes.
Yes, I need to fix the documentation, I didn't get to do that yet.

I think you can get paranoid overcommit with either my patch or 2.6 by
setting /proc/sys/vm/overcommit_mode to 2 *and*
/proc/sys/vm/overcommit_ratio to 0, however.

--
-Barry K. Nathan <barryn@xxxxxxxxx>
-
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/