Re: [PATCH/RFT 2/5] CLOCK-Pro page replacement

2005-08-10 Thread Rik van Riel
On Wed, 10 Aug 2005, David S. Miller wrote: > From: Rik van Riel <[EMAIL PROTECTED]> > Date: Wed, 10 Aug 2005 16:02:18 -0400 > > > --- linux-2.6.12-vm.orig/fs/proc/proc_misc.c > > +++ linux-2.6.12-vm/fs/proc/proc_misc.c > > @@ -219,6 +219,20 @@ static struct file_operations fragmentat > > .rel

Re: [PATCH/RFT 2/5] CLOCK-Pro page replacement

2005-08-10 Thread David S. Miller
From: Rik van Riel <[EMAIL PROTECTED]> Date: Wed, 10 Aug 2005 16:02:18 -0400 > --- linux-2.6.12-vm.orig/fs/proc/proc_misc.c > +++ linux-2.6.12-vm/fs/proc/proc_misc.c > @@ -219,6 +219,20 @@ static struct file_operations fragmentat > .release= seq_release, > }; > > +extern struct se

[PATCH/RFT 2/5] CLOCK-Pro page replacement

2005-08-10 Thread Rik van Riel
Prints a histogram of refaults in /proc/refaults. This allows somebody to estimate how much more memory a memory starved system would need to run better. It can also help with the evaluation of page replacement algorithms, since the algorithm that would need the least amount of extra memory to