From: jogi@planetzork.ping.de
To: "Linus Torvalds" <torvalds@transmeta.com>
Cc: "Kernel Mailing List" <linux-kernel@vger.kernel.org>
Subject: Re: Linux-2.4.14-pre8..
Date: 4 Nov 2001 22:06:41 +0100 [thread overview]
Message-ID: <20011104220641.A788@planetzork.spacenet> (raw)
In-Reply-To: <20011104192725.A847@planetzork.spacenet> <Pine.LNX.4.33.0111041047230.6919-100000@penguin.transmeta.com>
In-Reply-To: <Pine.LNX.4.33.0111041047230.6919-100000@penguin.transmeta.com>; from torvalds@transmeta.com on Sun, Nov 04, 2001 at 10:53:43AM -0800
On Sun, Nov 04, 2001 at 10:53:43AM -0800, Linus Torvalds wrote:
Hello,
with the complete patch (s.b.) the kernel did kill processes while running
make -j100. So I tried only the second part of the patch (the SetPage-part)
and here are the results (this time only the make -j100 part:
2.4.14-pre8vmscan2: 6:12.06
2.4.14-pre8vmscan2: 6:41.43
2.4.14-pre8vmscan2: 6:53.22
2.4.14-pre8vmscan2: 7:12.03
2.4.14-pre8vmscan2: 5:49.82
I will run the whole test tonight and I will keep you posted. If you
want me to try a different patch, just let me know.
> (The first chunk just says that we _can_ unmap active pages: it's up to
> refill_inactive to perhaps de-activate them and free them on demand. The
> second chunk says that when refill_inactive() moves a page to the inactive
> list, it's already been "touched once", so another access will activate it
> again).
>
> Linus
>
> ----
> diff -u --recursive pre8/linux/mm/vmscan.c linux/mm/vmscan.c
> --- pre8/linux/mm/vmscan.c Sun Nov 4 09:41:04 2001
> +++ linux/mm/vmscan.c Sun Nov 4 10:41:59 2001
> @@ -54,9 +54,11 @@
> return 0;
> }
>
> +#if 0
> /* Don't bother unmapping pages that are active */
> if (PageActive(page))
> return 0;
> +#endif
>
> /* Don't bother replenishing zones not under pressure.. */
> if (!memclass(page->zone, classzone))
> @@ -541,6 +543,7 @@
>
> del_page_from_active_list(page);
> add_page_to_inactive_list(page);
> + SetPageReferenced(page);
> }
> spin_unlock(&pagemap_lru_lock);
> }
>
--
Well, yeah ... I suppose there's no point in getting greedy, is there?
<< Calvin & Hobbes >>
next prev parent reply other threads:[~2001-11-04 21:08 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-11-04 1:44 Linux-2.4.14-pre8 Linus Torvalds
2001-11-04 18:27 ` Linux-2.4.14-pre8 jogi
2001-11-04 18:53 ` Linux-2.4.14-pre8 Linus Torvalds
2001-11-04 21:06 ` jogi [this message]
[not found] ` <20011104223535.717ce40e.skraw@ithnet.com>
2001-11-04 23:07 ` Linux-2.4.14-pre8 jogi
2001-11-05 0:54 ` Linux-2.4.14-pre8 Linus Torvalds
2001-11-05 7:46 ` Linux-2.4.14-pre8 jogi
2001-11-23 20:00 ` 2.4.15: results of kernel compilation bench jogi
2001-11-05 1:03 ` Linux-2.4.14-pre8 Richard Gooch
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=20011104220641.A788@planetzork.spacenet \
--to=jogi@planetzork.ping.de \
--cc=linux-kernel@vger.kernel.org \
--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
all inboxes | Powered by JetHome®