On 02.04.20 10:13, Coly Li wrote:
- scribble = kvmalloc_array(cnt, obj_size, flags); + scribble = kvmalloc_array(cnt, obj_size, GFP_KERNEL);
Maybe it is simpler to call kvmalloc_array between memalloc_noio_save and memalloc_noio_restore.
And seems sched/mm.h need to be included per the report from LKP. Thanks, Guoqing