lkml.org 
[lkml]   [2000]   [Feb]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] kswapd performance fix
Hi Alan,

here's a one-liner that makes kswapd a little bit faster
by not dirtying cache lines needlessly any more.

The patch should apply to any 2.2 or 2.3 kernel, but for
2.3 it'll have the interesting side effect of nullifying
the (minimal) page aging that's going on there.

Expect a patch for the newest 2.3 tomorrow :)
(if I'm not in a moving frenzy and packing my things
like I should be doing by now)

cheers,

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


--- linux/mm/vmscan.c.orig Thu Feb 24 22:56:42 2000
+++ linux/mm/vmscan.c Thu Feb 24 23:14:13 2000
@@ -55,7 +55,6 @@
*/
set_pte(page_table, pte_mkold(pte));
flush_tlb_page(vma, address);
- set_bit(PG_referenced, &page_map->flags);
return 0;
}


-
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/

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