> I suspect it's just the fact that Linux doesn't check for memory availability
> when doing memory mappings. It _does_ check when increasing the bss, so it
> was just a matter of doing that check in both places (the check should
> probably be improved too).
>
> I'm including totally untested patches - I haven't even rebooted (or
> compiled) this kernel yet, but the more testers, the merrier. The worst
> that can happen is that nothing works, it eats your harddisk, and the
> machine goes up in smoke.,.
>
> (most of this patch is actually just moving "sys_brk()" to where it
> belongs)
>
> Please do tell if this makes a difference for you..
It fixes all of the previously mentioned MM problems on my machine. Great!
Martin