From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jan Hudec Subject: Re: [PATCH] [Request for inclusion] Filesystem in Userspace Date: Sat, 20 Nov 2004 13:00:39 +0100 Message-ID: <20041120120039.GS2870@vagabond> References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="bAwSoJxbKYwy34Oe" Cc: hbryan@us.ibm.com, akpm@osdl.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, pavel@ucw.cz, torvalds@osdl.org Return-path: Received: from cimice4.lam.cz ([212.71.168.94]:13786 "EHLO vagabond.light.src") by vger.kernel.org with ESMTP id S262801AbUKTMAz (ORCPT ); Sat, 20 Nov 2004 07:00:55 -0500 To: Miklos Szeredi Content-Disposition: inline In-Reply-To: Sender: linux-fsdevel-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org --bAwSoJxbKYwy34Oe Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Nov 18, 2004 at 18:14:15 +0100, Miklos Szeredi wrote: >=20 > > I don't see how the OOM killer can help you here. The OOM killer deals= =20 > > with the system being out of virtual memory; >=20 > 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.=20 >=20 > 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 --bAwSoJxbKYwy34Oe Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (GNU/Linux) iD8DBQFBnzHnRel1vVwhjGURAr3gAJ9kiLY//Gm+lLq+fsqIVJL8qVELTwCfW3iN 6Qa04v4EVB5tJ4Rp2FThrIc= =5swc -----END PGP SIGNATURE----- --bAwSoJxbKYwy34Oe--