Re: [PATCH v2 3/4] fix vmap_udmabuf error page set

2024-08-11 Thread Huan Yang
在 2024/8/10 10:39, 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, Currently vmap_udmabuf set page's array by each folio. But, ubuf->fol

RE: [PATCH v2 3/4] fix vmap_udmabuf error page set

2024-08-09 Thread Kasireddy, Vivek
Hi Huan, > > Currently vmap_udmabuf set page's array by each folio. > But, ubuf->folios is only contain's the folio's head page. > > That mean we repeatedly mapped the folio head page to the vmalloc area. > > This patch fix it, set each folio's page correct, so that pages array > contains right

[PATCH v2 3/4] fix vmap_udmabuf error page set

2024-08-04 Thread Huan Yang
Currently vmap_udmabuf set page's array by each folio. But, ubuf->folios is only contain's the folio's head page. That mean we repeatedly mapped the folio head page to the vmalloc area. This patch fix it, set each folio's page correct, so that pages array contains right page, and then map into vm