From: James Lewis Nance <jlnance@intrex.net>
To: linux-kernel@vger.kernel.org
Subject: Re: Is swap == 2 * RAM a permanent thing?
Date: Thu, 15 Mar 2001 12:43:16 -0500 [thread overview]
Message-ID: <20010315124316.A29421@bessie.dyndns.org> (raw)
In-Reply-To: <20010315170910.C4921@pc8.inup.com> <Pine.LNX.4.33.0103152025340.1320-100000@duckman.distro.conectiva>
In-Reply-To: <Pine.LNX.4.33.0103152025340.1320-100000@duckman.distro.conectiva>; from riel@conectiva.com.br on Thu, Mar 15, 2001 at 08:26:35PM -0300
On Thu, Mar 15, 2001 at 08:26:35PM -0300, Rik van Riel wrote:
> When we swap something in from swap, it is in effect "duplicated"
> in memory and swap. Freeing the swap space of these duplicates
> will mean we have, effectively, more swap space.
Hi Rik,
Thanks for the explanation. It brings another question to mind. Lets
assume that I have two 16M processes and 32M of swap space. Both the
processes have been swapped out at some point in time so the swap space is
full. A third process is running and tries to allocate some memory, and
the kernel has no free pages. Since swap is full, will the kernel kill my
process, or will it try and page out one of the processes that does have
space on swap?
Thanks,
Jim
next prev parent reply other threads:[~2001-03-15 17:42 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-03-15 12:28 Mike A. Harris
2001-03-15 13:08 ` Rik van Riel
2001-03-15 14:24 ` Mike Harrold
2001-03-16 0:47 ` Rik van Riel
2001-03-15 16:09 ` christophe barbe
2001-03-15 23:26 ` Rik van Riel
2001-03-15 17:20 ` christophe barbe
2001-03-15 17:43 ` James Lewis Nance [this message]
2001-03-16 1:25 ` Rik van Riel
2001-03-16 2:52 ` kernel benchmark gis88530
2001-03-15 15:23 ` Is swap == 2 * RAM a permanent thing? Ketil Froyn
2001-03-15 17:19 Torrey Hoffman
2001-03-15 19:22 ` William T Wilson
2001-03-16 2:44 ` Rik van Riel
2001-03-15 20:11 ` LA Walsh
2001-03-16 3:56 ` Rik van Riel
2001-03-15 21:45 ` Andrzej Krzysztofowicz
2001-03-16 5:08 ` Rik van Riel
2001-03-19 15:21 ` Guennadi Liakhovetski
2001-03-17 17:59 ` Boris Pisarcik
2001-03-17 17:53 ` Alexander Viro
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20010315124316.A29421@bessie.dyndns.org \
--to=jlnance@intrex.net \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®