Re: [Oops] i386 mm/slab.c (cache_flusharray)

From: Christoph Hellwig
Date: Fri Dec 05 2003 - 02:17:11 EST


On Fri, Dec 05, 2003 at 08:21:10AM +1100, Nathan Scott wrote:
> Yeah, thats pretty silly stuff - and should be fairly easy to
> fix by using a pagebuf flag to differentiate the two. Will do.

IMHO a flags is wrong here. Just maek pb_addr always a pointer and
for the case it's the preallocated array make it point pb_page_array
or something like that. Then check whether pb_addr is pointing to the
preallocated array.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/