From: Andrea Arcangeli <andrea@e-mind.com>
To: Linus Torvalds <torvalds@transmeta.com>
Cc: Kernel Mailing List <linux-kernel@vger.rutgers.edu>,
linux-mm@kvack.org, "Stephen C. Tweedie" <sct@redhat.com>,
Rik van Riel <H.H.vanRiel@phys.uu.nl>
Subject: Re: 2.2.0-final
Date: Sun, 24 Jan 1999 14:28:31 +0100 (CET) [thread overview]
Message-ID: <Pine.LNX.3.96.990124142635.476A-100000@laser.bogus> (raw)
In-Reply-To: <Pine.LNX.3.96.990124141300.222A-100000@laser.bogus>
On Sun, 24 Jan 1999, Andrea Arcangeli wrote:
> Here the fix:
Woops the fix was wrong, I forgot that there was a not needed check due me
(just removed from some weeks here, and that's because I forget to
remove it now ;):
The complete fix is this. Excuse me...
Index: vmscan.c
===================================================================
RCS file: /var/cvs/linux/mm/vmscan.c,v
retrieving revision 1.1.1.3
diff -u -r1.1.1.3 vmscan.c
--- vmscan.c 1999/01/23 18:52:32 1.1.1.3
+++ vmscan.c 1999/01/24 13:26:24
@@ -325,11 +325,9 @@
* Think of swap_cnt as a "shadow rss" - it tells us which process
* we want to page out (always try largest first).
*/
- counter = nr_tasks / (priority+1);
+ counter = (nr_tasks << 1) / (priority+1);
if (counter < 1)
counter = 1;
- if (counter > nr_tasks)
- counter = nr_tasks;
for (; counter >= 0; counter--) {
assign = 0;
Andrea Arcangeli
--
To unsubscribe, send a message with 'unsubscribe linux-mm my@address'
in the body to majordomo@kvack.org. For more info on Linux MM,
see: http://humbolt.geo.uu.nl/Linux-MM/
next prev parent reply other threads:[~1999-01-24 14:37 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <Pine.LNX.3.95.990120224340.23558G-100000@penguin.transmeta.com>
1999-01-23 20:56 ` 2.2.0-final Andrea Arcangeli
1999-01-24 1:51 ` 2.2.0-final Andrea Arcangeli
1999-01-24 2:57 ` 2.2.0-final Eric W. Biederman
1999-01-24 12:49 ` 2.2.0-final Andrea Arcangeli
1999-01-24 13:16 ` 2.2.0-final Andrea Arcangeli
1999-01-24 13:28 ` Andrea Arcangeli [this message]
1999-01-24 18:41 ` 2.2.0-final Eric W. Biederman
1999-01-24 23:05 ` 2.2.0-final Andrea Arcangeli
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.3.96.990124142635.476A-100000@laser.bogus \
--to=andrea@e-mind.com \
--cc=H.H.vanRiel@phys.uu.nl \
--cc=linux-kernel@vger.rutgers.edu \
--cc=linux-mm@kvack.org \
--cc=sct@redhat.com \
--cc=torvalds@transmeta.com \
/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