From: Linus Torvalds <torvalds@transmeta.com>
To: Marcelo Tosatti <marcelo@conectiva.com.br>
Cc: linux-mm@kvack.org
Subject: Re: swapout selection change in pre1
Date: Sat, 13 Jan 2001 00:05:14 -0800 (PST) [thread overview]
Message-ID: <Pine.LNX.4.10.10101130003270.1262-100000@penguin.transmeta.com> (raw)
In-Reply-To: <Pine.LNX.4.21.0101130122440.11154-100000@freak.distro.conectiva>
On Sat, 13 Jan 2001, Marcelo Tosatti wrote:
>
> The swapout selection change in pre1 will make the kernel swapout behavior
> not fair anymore to tasks which are sharing the VM (vfork()).
>
> I dont see any clean fix for that problem. Do you?
What?
It's the other way around: it used to be _extremely_ unfair towards
threads, because threads woul dget swapped out _much_ more that
non-threads. The new "count only nr of mm's" actually fixes a real problem
in this area: a process with hundreds of threads would just get swapped
out _way_ too quickly (it used to be counted as "hundreds of VM's", even
though it's obviously just one VM, and should be swapped out as such).
Linus
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux.eu.org/Linux-MM/
next prev parent reply other threads:[~2001-01-13 8:05 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-01-13 3:28 Marcelo Tosatti
2001-01-13 8:05 ` Linus Torvalds [this message]
2001-01-13 7:41 ` Marcelo Tosatti
2001-01-15 1:22 ` Ed Tomlinson
2001-01-15 2:48 ` Linus Torvalds
2001-01-15 9:24 ` Jamie Lokier
2001-01-15 8:16 ` Marcelo Tosatti
2001-01-15 18:24 ` Linus Torvalds
2001-01-15 18:40 ` Jamie Lokier
2001-01-15 18:55 ` Linus Torvalds
2001-01-15 21:44 ` Jamie Lokier
2001-01-15 21:57 ` Linus Torvalds
2001-01-15 22:36 ` Jamie Lokier
2001-01-17 23:40 ` Rik van Riel
2001-01-18 15:38 ` Roman Zippel
2001-01-17 7:19 ` Rik van Riel
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=Pine.LNX.4.10.10101130003270.1262-100000@penguin.transmeta.com \
--to=torvalds@transmeta.com \
--cc=linux-mm@kvack.org \
--cc=marcelo@conectiva.com.br \
/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