Re: [PATCH] mask ADT: bitmap and bitop tweaks [1/22]
From: Chris Friesen
Date: Tue Mar 30 2004 - 10:56:18 EST
William Lee Irwin III wrote:
On Mon, Mar 29, 2004 at 03:06:16PM -0800, Matthew Dobson wrote:
not assuming the unused bits are 0's, then we need to do this last word
special casing in bitmap_xor & bitmap_andnot, because they could set the
unused bits. Or am I confused?
No, not those two. xor of 0's is 0 again. and of 0 and anything is 0 again.
Huh? Xor of 0 and 1 is 1.
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/