16 Mar 1995 07:08
Re: Linux is 'creating' memory ?!
Linus Torvalds <torvalds <at> cc.Helsinki.FI>
1995-03-16 06:08:16 GMT
1995-03-16 06:08:16 GMT
In article <3k3i4c$341 <at> vixen.cso.uiuc.edu>, Steve Peltz <peltz <at> cerl.uiuc.edu> wrote: > >Doesn't an mmap'ed segment get swapped to the file itself (other than >ANON)? Why would it need to reserve swap space? Check out MAP_PRIVATE, which is actually the one that is used a lot more than MAP_SHARED (and is the only form fully implemented under linux, just for that reason). >>2) GNU emacs (ugh) wants to start up a shell script. In the meantime, >> GNU emacs has (as it's wont to do) grown to 17 MB, and you obviously >> don't have much memory left. Do you accept the fork? > >So you have 17MB of swap space that you have to have free for a millisecond >in order to fork a process from a huge process. Is that such a problem? It >will be freed up almost immediately. Are all people writing to this thread so arrogant? "is it so hard to do?" "is 17MB of swapspace for a millisecond a problem?" "Why can DOS do it and Linux not do it?" "Use vfork() instead of fork()" etc etc.. It IS damned hard to do. Using 17MB of swap-space is HORRIBLE on a PC. I have around 500MB of disk on my two linux-machines, and 17MB of that is noticeable. Others have *much* less.(Continue reading)
RSS Feed