Re: kiobuf / vm bug

Gerd Knorr (kraxel@bytesex.org)
15 Nov 2001 17:32:00 GMT


Gerd Knorr wrote:
> Hi,
>
> I think I have found a kiobuf-related bug in the VM of recent linux
> kernels. 2.4.13 is fine, 2.4.14-pre1 doesn't boot my machine,
> 2.4.14-pre2 + newer kernels are broken.

[ ... ]

ok, the patch below (suggested by Andrea) fixes it.

Gerd

--------------------- cut here -----------------
--- 2.4.15-pre4/mm/memory.c~ Tue Nov 13 10:52:01 2001
+++ 2.4.15-pre4/mm/memory.c Thu Nov 15 18:24:16 2001
@@ -588,7 +588,7 @@
if (map) {
if (iobuf->locked)
UnlockPage(map);
- __free_page(map);
+ page_cache_release(map);
}
}

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