On 01/03/2016 22:27, Jan Kiszka wrote: > > It's not precisely the same thing since PAGE_MASK sets the upper > > reserved bits :-) Aha! :) Jan's suggestion is obviously a good one, please adopt it for v2. Paolo > > I'll send v2. > > Consider defining the constant as GENMASK(51, 12) (from linux/bitops.h). > > A while back, I re-invented this macro for Jailhouse, and I just > realized that the kernel has the very same thing. It makes such bitmasks > much more readable (and verifiable when looking at specs). -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html