Messages in this thread | | | From | James Sutherland <> | Subject | Re: Overcomittable memory | Date | Tue, 21 Mar 2000 23:39:32 +0000 |
| |
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/
| |