lkml.org 
[lkml]   [2000]   [Mar]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: Overcomittable memory
Date
On 21 Mar 2000 14:42:31 +0100, you wrote:
>Den 19-Mar-00 19:47:15 skrev James Sutherland følgende om "Re: Overcomittable memory":
>
>> Or just commit based on the memory which is really being used by the
>> process, which is nice and simple, and hasn't caused any problems I
>> know of yet.
>
> And is exactly what you don't mean by the word commit.

I mean, give a process the memory it really occupies. If the process
is taking up 17345 pages of VM, give it 17345 pages of VM. Don't
pretend it is occupying 18990 pages just because it might expand
later. Remember: It has an almost infinite amount of stack allocated
already - do you want to include that as well?

>> It works - why change it?
>
> Because it _doesn't_ work. It breaks programs which follow the rules.

Only when it is absolutely necessary.


James.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

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