Re: [PATCH] x86: Make variable_test_bit reference all of *addr

From: Masami Hiramatsu
Date: Fri Oct 07 2011 - 00:36:19 EST


Hi Josh,

Thank you for reporting details :)

(2011/10/07 11:50), Josh Stone wrote:
> We can make twobyte_is_boostable[] volatile instead, which does the
> trick, but that seems a kludge to me.

I think this time we'd better to do this (with comments),
since this may not affect most of bitmap users using it for
checking dynamically allocated bit-flags. kprobe's bitmap
usage seems a special case.

Thank you,

--
Masami HIRAMATSU
Software Platform Research Dept. Linux Technology Center
Hitachi, Ltd., Yokohama Research Laboratory
E-mail: masami.hiramatsu.pt@xxxxxxxxxxx
--
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/