>> Or make the HMM Kconfig feature 64BIT only by making it depend on 64BIT? >> > > Yes, that was my first reaction too, but these particular routines are > aspiring to be generic routines--in fact, you have had an influence there, > because these might possibly help with NUMA migrations. :) > Yes, I still stick to them being generic, but I'd be OK if they worked just for 64 bit systems. Having said that even the 64 bit works version work for upto physical sizes of 64 - PAGE_SHIFT which is a little limiting I think. One option is to make pfn's unsigned long long and do 32 and 64 bit computations separately Option 2, could be something like you said a. Define a __weak migrate_vma to return -EINVAL b. In a 64BIT only file define migrate_vma Option 3 Something totally different If we care to support 32 bit we go with 1, else option 2 is a good starting point. There might be other ways of doing option 2, like you've suggested Balbir -- 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>