On Wed, May 14, 2003 at 01:29:47AM -0700, Andrew Morton wrote:
> ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.5/2.5.69/2.5.69-mm5/
>
> Various fixes. It should even compile on uniprocessor.
> I dropped all the NFS client changes, which have been in -mm for ages. A
> number of fixes have been merged into Linus's tree and they need testing on
> their own.
put_page_testzero() does BUG_ON(page_count(page)) when its argument
is p.
-- wli
diff -prauN linux-2.5.69-bk9/include/linux/mm.h numaq-2.5.69-bk9-1/include/linux/mm.h
--- linux-2.5.69-bk9/include/linux/mm.h 2003-05-15 12:01:44.000000000 -0700
+++ numaq-2.5.69-bk9-1/include/linux/mm.h 2003-05-15 12:26:34.000000000 -0700
@@ -214,7 +214,7 @@ struct page {
*/
#define put_page_testzero(p) \
({ \
- BUG_ON(page_count(page) == 0); \
+ BUG_ON(page_count(p) == 0); \
atomic_dec_and_test(&(p)->count); \
})
-
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 : Thu May 15 2003 - 22:00:58 EST