Re: [RFC 7/7] TEST: Driver to test device memory through ZONE_DEVICE

2016-05-03 Thread Balbir Singh
On 03/05/16 16:29, Anshuman Khandual wrote: > This is an example driver with little bit of kernel hack to test > ZONE_DEVICE based device memory management on POWER. > I think this should be under CONFIG_DEBUG/CONFIG_DEBUG_VM or something No? If you are exporting the functions from the

[RFC 7/7] TEST: Driver to test device memory through ZONE_DEVICE

2016-05-03 Thread Anshuman Khandual
This is an example driver with little bit of kernel hack to test ZONE_DEVICE based device memory management on POWER. Signed-off-by: Anshuman Khandual --- arch/powerpc/mm/init_64.c | 12 ++- arch/powerpc/platforms/pseries/Makefile | 2 +-