Re: [PATCH] usemem: Add option touch-alloc

2020-12-18 Thread wufengguang
Zhu Hui, Applied both patches with minor cleanup. Thanks! Regards, Fengguang

[PATCH] usemem: Add option touch-alloc

2020-12-16 Thread Hui Zhu
Some environment will not fault in memory even if MAP_POPULATE is set. This commit add option touch-alloc to read memory after allocate it to make sure the pages is fault in. Signed-off-by: Hui Zhu --- usemem.c | 37 + 1 file changed, 25 insertions(+), 12