lkml.org 
[lkml]   [2001]   [Nov]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Linux-2.4.14-pre8..
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 >>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:12    [W:0.069 / U:0.284 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site