lkml.org 
[lkml]   [1996]   [Jun]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: the mmap() problem, a'la "grep x /dev/zero"
Date
Hi,

> 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


\
 
 \ /
  Last update: 2005-03-22 13:37    [W:0.037 / U:2.896 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site