Re: [PATCH *] VM patch for 2.4.0-test8]

2000-09-15 Thread Rik van Riel
On Fri, 15 Sep 2000, safemode wrote: > [where to get the VM patch] http://www.surriel.com/patches/ Rik -- "What you're running that piece of shit Gnome?!?!" -- Miguel de Icaza, UKUUG 2000 http://www.conectiva.com/ http://www.surriel.com/ - To unsubscribe from this list:

Re: [PATCH *] VM patch for 2.4.0-test8]

2000-09-15 Thread safemode
Jamie Lokier wrote: > Martin Josefsson wrote: > > I've been trying to get my machine to swap but that seems hard with this > > new patch :) I have 0kB of swap used after 8h uptime, and I have been > > compiling, moving files between partitions and running md5sum on files > > (that was a big

Re: [PATCH *] VM patch for 2.4.0-test8

2000-09-15 Thread Rik van Riel
On Fri, 15 Sep 2000, Jamie Lokier wrote: > Martin Josefsson wrote: > > I've been trying to get my machine to swap but that seems hard with this > > new patch :) I have 0kB of swap used after 8h uptime, and I have been > > compiling, moving files between partitions and running md5sum on files > >

Re: [PATCH *] VM patch for 2.4.0-test8

2000-09-15 Thread David Ford
Jamie Lokier wrote: > Martin Josefsson wrote: > > I've been trying to get my machine to swap but that seems hard with this > > new patch :) I have 0kB of swap used after 8h uptime, and I have been > > compiling, moving files between partitions and running md5sum on files > > (that was a big

Re: [PATCH *] VM patch for 2.4.0-test8

2000-09-15 Thread Jamie Lokier
Martin Josefsson wrote: > I've been trying to get my machine to swap but that seems hard with this > new patch :) I have 0kB of swap used after 8h uptime, and I have been > compiling, moving files between partitions and running md5sum on files > (that was a big problem before, everything ended up

Re: [PATCH *] VM patch for 2.4.0-test8

2000-09-15 Thread Martin Josefsson
On Thu, 14 Sep 2000, Rik van Riel wrote: > On Wed, 13 Sep 2000, David S. Miller wrote: > > > In page_launder() about halfway down there is this sequence of tests > > on LRU pages: > > > > if (!clearedbuf) { > > ... > > } else if (!page->mapping) { > > ... > > } else if (page_count(page) > 1)

Re: [PATCH *] VM patch for 2.4.0-test8]

2000-09-15 Thread safemode
Jamie Lokier wrote: Martin Josefsson wrote: I've been trying to get my machine to swap but that seems hard with this new patch :) I have 0kB of swap used after 8h uptime, and I have been compiling, moving files between partitions and running md5sum on files (that was a big problem

Re: [PATCH *] VM patch for 2.4.0-test8]

2000-09-15 Thread Rik van Riel
On Fri, 15 Sep 2000, safemode wrote: [where to get the VM patch] http://www.surriel.com/patches/ Rik -- "What you're running that piece of shit Gnome?!?!" -- Miguel de Icaza, UKUUG 2000 http://www.conectiva.com/ http://www.surriel.com/ - To unsubscribe from this list:

Re: [PATCH *] VM patch for 2.4.0-test8

2000-09-15 Thread Jamie Lokier
Martin Josefsson wrote: I've been trying to get my machine to swap but that seems hard with this new patch :) I have 0kB of swap used after 8h uptime, and I have been compiling, moving files between partitions and running md5sum on files (that was a big problem before, everything ended up on

Re: [PATCH *] VM patch for 2.4.0-test8

2000-09-15 Thread Rik van Riel
On Fri, 15 Sep 2000, Jamie Lokier wrote: Martin Josefsson wrote: I've been trying to get my machine to swap but that seems hard with this new patch :) I have 0kB of swap used after 8h uptime, and I have been compiling, moving files between partitions and running md5sum on files (that was

Re: [PATCH *] VM patch for 2.4.0-test8

2000-09-15 Thread David Ford
Jamie Lokier wrote: Martin Josefsson wrote: I've been trying to get my machine to swap but that seems hard with this new patch :) I have 0kB of swap used after 8h uptime, and I have been compiling, moving files between partitions and running md5sum on files (that was a big problem

Re: [PATCH *] VM patch for 2.4.0-test8

2000-09-14 Thread Rik van Riel
On Thu, 14 Sep 2000, Rik van Riel wrote: > On Wed, 13 Sep 2000, David S. Miller wrote: > > > In page_launder() about halfway down there is this sequence of tests > > on LRU pages: > > > > } else if (page_count(page) > 1) { > > } else /* page->mapping && page_count(page) == 1 */ { > > Indeed,

Re: [PATCH *] VM patch for 2.4.0-test8

2000-09-14 Thread Rik van Riel
On Wed, 13 Sep 2000, David S. Miller wrote: > In page_launder() about halfway down there is this sequence of tests > on LRU pages: > > if (!clearedbuf) { > ... > } else if (!page->mapping) { > ... > } else if (page_count(page) > 1) { > } else /* page->mapping && page_count(page) == 1 */ { >

Re: [PATCH *] VM patch for 2.4.0-test8

2000-09-14 Thread David S. Miller
From: "Juan J. Quintela" <[EMAIL PROTECTED]> Date: 14 Sep 2000 08:11:40 +0200 I can only see one place where we add a page to the page cache and we don't increase its page count, and it is in grow_buffers(). Could somebody explain me _why_ we don't need to do a

Re: [PATCH *] VM patch for 2.4.0-test8

2000-09-14 Thread Juan J. Quintela
> "david" == David S Miller <[EMAIL PROTECTED]> writes: david> In page_launder() about halfway down there is this sequence of tests david> on LRU pages: david> if (!clearedbuf) { david> ... david> } else if (!page->mapping) { david> ... david> } else if (page_count(page) > 1) { david> }

Re: [PATCH *] VM patch for 2.4.0-test8

2000-09-14 Thread Rik van Riel
On Wed, 13 Sep 2000, David S. Miller wrote: In page_launder() about halfway down there is this sequence of tests on LRU pages: if (!clearedbuf) { ... } else if (!page-mapping) { ... } else if (page_count(page) 1) { } else /* page-mapping page_count(page) == 1 */ { ... } Above

Re: [PATCH *] VM patch for 2.4.0-test8

2000-09-14 Thread Rik van Riel
On Thu, 14 Sep 2000, Rik van Riel wrote: On Wed, 13 Sep 2000, David S. Miller wrote: In page_launder() about halfway down there is this sequence of tests on LRU pages: } else if (page_count(page) 1) { } else /* page-mapping page_count(page) == 1 */ { Indeed, you're right. This

Re: [PATCH *] VM patch for 2.4.0-test8

2000-09-14 Thread Juan J. Quintela
"david" == David S Miller [EMAIL PROTECTED] writes: david In page_launder() about halfway down there is this sequence of tests david on LRU pages: david if (!clearedbuf) { david ... david } else if (!page-mapping) { david ... david } else if (page_count(page) 1) { david } else /*

Re: [PATCH *] VM patch for 2.4.0-test8

2000-09-13 Thread David S. Miller
In page_launder() about halfway down there is this sequence of tests on LRU pages: if (!clearedbuf) { ... } else if (!page->mapping) { ... } else if (page_count(page) > 1) { } else /* page->mapping && page_count(page) == 1 */ { ... } Above this sequence we've done a page_cache_get. For the

[PATCH *] VM patch for 2.4.0-test8

2000-09-13 Thread Rik van Riel
Hi, The new VM patch seems has received a major amount of code cleanup, performance tuning and stability improvement over the last few days and is now almost production quality, with the following 4 items left for 2.4: - improve streaming IO performance - out of memory handling - integrate Ben

Re: [PATCH *] VM patch for 2.4.0-test8

2000-09-13 Thread David S. Miller
In page_launder() about halfway down there is this sequence of tests on LRU pages: if (!clearedbuf) { ... } else if (!page-mapping) { ... } else if (page_count(page) 1) { } else /* page-mapping page_count(page) == 1 */ { ... } Above this sequence we've done a page_cache_get. For the