[lkml]   [1999]   [Apr]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Patch in this message
SubjectRe: 2.2.6_andrea4.bz2
On Tue, 27 Apr 1999, Andrea Arcangeli wrote:

>I am releasing now a new patch. It will have the fixes for the bug
>triggered in 2.2.6_andrea3 and will have the fixes for the
>performances-bugs I found previously in 2.2.6_andrea2. It will return to

I just have a patch against 2.2.6_andrea4.bz2.

Index: mm/filemap.c
RCS file: /var/cvs/linux/mm/filemap.c,v
retrieving revision
diff -u -r1.1.2.57 filemap.c
--- linux/mm/filemap.c 1999/04/27 18:52:52
+++ linux/mm/filemap.c 1999/04/28 12:53:01
@@ -172,7 +172,7 @@

- while (count-- > 0 && (tmp = lru_head[i]->prev) != lru_head[i])
+ while (count > 0 && (tmp = lru_head[i]->prev) != lru_head[i])
struct page * page = list_entry(tmp, struct page, lru);

@@ -183,6 +183,7 @@
list_add(tmp, &young);
+ count--;

if ((gfp_mask & __GFP_DMA) && !PageDMA(page))

It's not really a bugfix but I think it's better. The only meaning of the
the referenced bit now has to be to reorder the lru list, not at all to
drive swapout or not. I did such change because it looked better in low
memory to swapout more, but it was not the right thing to do.

If somebody will try out 2.2.6_andrea4.bz2 with and then w/o the patch
above let me know (let me know the details of your memory too ;).


Andrea Arcangeli

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:51    [from the cache]
©2003-2014 Jasper Spaans. hosted at Digital Ocean