Re: competing or complementary patches for VM/kswapd problems ?

From: Rik van Riel (riel@conectiva.com.br)
Date: Wed Apr 26 2000 - 18:14:15 EST


On Wed, 26 Apr 2000, Paul Barton-Davis wrote:
> OK, so one the one hand, we have Rik's latest patch:
>
> >From: Rik van Riel <riel@conectiva.com.br>
> >Subject: [patch] 2.3.99-pre6-3 VM fixed

The pre6-7 patch is a little bit better tested and should
arrive in your mailbox very soon.

> and on the other hand, we have this simple patch from Juan:
>
> >From: "Juan J. Quintela" <quintela@fi.udc.es>
> >Subject: Re: System hangs when reading or writing many or large files

> >- --- 2.3.99-pre6-5/mm/filemap.c Tue Apr 4 01:18:56 2000
> >+++ 2.3.99-pre6-boot/mm/filemap.c Sun Apr 23 17:48:42 2000
> >@@ -467,8 +467,9 @@
> > struct page *alias;
> > unsigned long flags;
> >
> >+ LockPage(page);
> > flags = page->flags & ~((1 << PG_uptodate) | (1 << PG_error) | (1 << PG
> >_dirty));
> >- - page->flags = flags | (1 << PG_locked) | (1 << PG_referenced);
> >+ page->flags = flags | (1 << PG_referenced);

This is orthagonal to my patch. I guess you want both, if
Juan's patch isn't in 2.3.99-pre6-7 yet...

regards,

Rik

--
The Internet is not a network of computers. It is a network
of people. That is its real strength.

Wanna talk about the kernel? irc.openprojects.net / #kernelnewbies http://www.conectiva.com/ http://www.surriel.com/

- 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 : Sun Apr 30 2000 - 21:00:12 EST