Maybe this patch would make a difference ??
milton
===== mm/filemap.c 1.81 vs edited =====
--- 1.81/mm/filemap.c Mon Apr 29 17:18:54 2002
+++ edited/mm/filemap.c Fri May 3 20:47:35 2002
@@ -287,11 +287,11 @@
clean_list_pages(mapping, &mapping->io_pages, start);
clean_list_pages(mapping, &mapping->dirty_pages, start);
do {
- unlocked |= truncate_list_pages(mapping,
+ unlocked = truncate_list_pages(mapping,
&mapping->io_pages, start, &partial);
unlocked |= truncate_list_pages(mapping,
&mapping->dirty_pages, start, &partial);
- unlocked = truncate_list_pages(mapping,
+ unlocked |= truncate_list_pages(mapping,
&mapping->clean_pages, start, &partial);
unlocked |= truncate_list_pages(mapping,
&mapping->locked_pages, start, &partial);
-
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/
This archive was generated by hypermail 2b29 : Tue May 07 2002 - 22:00:22 EST