Re: Stability (2.2.14/15/16/17pre1)

From: Andrea Arcangeli (andrea@suse.de)
Date: Wed Jun 14 2000 - 13:20:58 EST


On Wed, 14 Jun 2000, Marcelo Tosatti wrote:

>2.2.15, mm/vmscan.c, kswapd thread:
>
> while (1) {
> interruptible_sleep_on(&kswapd_wait);
> while (nr_free_pages < freepages.high)
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> {
> if (do_try_to_free_pages(GFP_KSWAPD))
> {
> if (tsk->need_resched)
> schedule();
> continue;
> }
> tsk->state = TASK_INTERRUPTIBLE;
> schedule_timeout(10*HZ);
> }
> }
>
>What i'm missing here ?

linux-2.2.15/mm/vmscan.c line 383 or linux-2.2.16/mm/vmscan.c line 390.

>mmap002 on 2.2.15 gets killed. mmap002 on 2.2.15 + 2.2.16's
>thrasing heuristic runs fine. Try it.

I bet mmap002 gets not killed in 2.2.16 because of the other stuff in
vmscan.c (see flushcount addition). trashing_mem or not trashing_mem isn't
a stability issue.

Andrea

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Jun 15 2000 - 21:00:34 EST