Re: [PATCH v2 2/4] udmabuf: change folios array from kmalloc to kvmalloc

2024-08-11 Thread Huan Yang
在 2024/8/10 9:29, Kasireddy, Vivek 写道: [Some people who received this message don't often get email from vivek.kasire...@intel.com. Learn why this is important at https://aka.ms/LearnAboutSenderIdentification ] Hi Huan, When PAGE_SIZE 4096, MAX_PAGE_ORDER 10, 64bit machine, page_alloc only

RE: [PATCH v2 2/4] udmabuf: change folios array from kmalloc to kvmalloc

2024-08-09 Thread Kasireddy, Vivek
Hi Huan, > > When PAGE_SIZE 4096, MAX_PAGE_ORDER 10, 64bit machine, > page_alloc only support 4MB. > If above this, trigger this warn and return NULL. > > udmabuf can change size limit, if change it to 3072(3GB), and then alloc > 3GB udmabuf, will fail create. > > [ 4080.876581] [ c