On Wed, 14 Jun 2000, Andrea Arcangeli wrote:
> 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.
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Andrea, _please_ read what i wrote correctly. Get 2.2.15, apply
thrasing heuristic changes, and run mmap002.
> 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.
-
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