Re: 2.4.8preX VM problems

Andrew Tridgell (tridge@valinux.com)
Wed, 1 Aug 2001 01:13:44 -0700 (PDT)


Marcelo,

I'm afraid that didn't help. I get:

[root@skurk /root]# ./readfiles /dev/ddisk
362 MB 181.145 MB/sec
695 MB 166.455 MB/sec
811 MB 57.6077 MB/sec
812 MB 0.439532 MB/sec
813 MB 0.463901 MB/sec
814 MB 0.416093 MB/sec
815 MB 0.409958 MB/sec
816 MB 0.410413 MB/sec

> Could you please try the patch below ? (against 2.4.8pre3)
>
> --- linux.orig/mm/vmscan.c Wed Aug 1 04:26:36 2001
> +++ linux/mm/vmscan.c Wed Aug 1 04:33:22 2001
> @@ -593,13 +593,9 @@
> * If we're freeing buffer cache pages, stop when
> * we've got enough free memory.
> */
> - if (freed_page) {
> - if (zone) {
> - if (!zone_free_shortage(zone))
> - break;
> - } else if (!free_shortage())
> - break;
> - }
> + if (freed_page && !total_free_shortage())
> + break;
> +
> continue;
> } else if (page->mapping && !PageDirty(page)) {
> /*
>
>

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/