lkml.org 
[lkml]   [2004]   [Nov]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] [Request for inclusion] Filesystem in Userspace
On Thu, Nov 18, 2004 at 18:14:15 +0100, Miklos Szeredi wrote:
>
> > I don't see how the OOM killer can help you here. The OOM killer deals
> > with the system being out of virtual memory;
>
> What? I think you are confusing something. I'm not an expert, but I
> think usually you have lot's of virtual memory (4Gbyte per process),
> so killing off processes to get more of it makes no sense.
>
> Please corrent me if I'm wrong.

YOU are confusing something.

Virtual memory is RAM + swap (+ mmapped files, which behave similarly to
swap)

Virtual address space is a range of addresses that can be assigned to
that virtual memory and used to access it. Each process has 3GiB virtual
address space for disposition and kernel has another 1GiB mapped to
every process, making the total of 4GiB allowed by the CPU (talking
about i386 -- other CPU's can have different ranges).

If you run out of virtual memory, that is there is no room in RAM nor in
swap, than you have to kill some process -- that's what OOM killer is
about -- to free some.

-------------------------------------------------------------------------------
Jan 'Bulb' Hudec <bulb@ucw.cz>
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2005-03-22 14:08    [W:0.275 / U:0.048 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site