On Mon, Jun 17, 2013 at 2:13 PM, Yinghai Lu <yinghai@xxxxxxxxxx> wrote: >> No bigge, but why (1ULL << 32) - 1? Shouldn't it be just 1ULL << 32? >> memblock deals with [@start, @end) areas, right? > > that is for 32bit, when phys_addr_t is 32bit, in that case > (1ULL<<32) cast to 32bit would be 0. Right, it'd work the same even after overflowing but yeah, it can be confusing. Thanks. -- tejun -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@xxxxxxxxx. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>