Re: [PATCH v3 04/10] mm/vmalloc: propagate errors in vmap_pages_p*d_range()

From
Uladzislau Rezki <urezki@gmail.com>
Date
2026-11-11 17:23:50
Also in
linux-mm, lkml
Reply to
Suren Baghdasaryan, 2026-11-01
On Sun, Nov 1, 2026 at 5:00 PM Suren Baghdasaryan [off-list ref] wrote:
On Fri, Oct 30, 2026 at 2:16 AM Hao Ge [off-list ref] wrote:
quoted
Hi Dev

Thanks for your review.

On 2026/10/30 15:29, Dev Jain wrote:
quoted

On 26/10/26 1:33 pm, Hao Ge wrote:
quoted
vmap_pages_pmd_range(), vmap_pages_pud_range() and
vmap_pages_p4d_range() return -ENOMEM whenever the level below them
fails.  But vmap_pages_pte_range() can also return -EINVAL for a
page without a valid pfn and -EBUSY for a pte that is already
mapped.  Pass the error up as-is instead, like the vmap_p*d_range()
helpers for vmap_page_range() do.

Signed-off-by: Hao Ge <hao.ge@linux.dev>
---
Fixes?
Sorry, I missed that.
quoted
Reviewed-by: Dev Jain <dev.jain@arm.com>
Thanks! If you have some time, I'd also appreciate a review of the
remaining patches in the series -- or Suren and Uladzislau, if they
get a chance. No rush, I know everyone is busy.
Yep, it's in my review queue.
I see v4, so i will have a look!

-- 
Uladzislau Rezki
Thread (20 messages) 20 messages, 4 authors, last reply 2d ago
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help