Upgrade to Pro — share decks privately, control downloads, hide ads and more …

usermode linux without MMU - fosdem2026 kernel ...

Avatar for Hajime Tazaki Hajime Tazaki
February 01, 2026

usermode linux without MMU - fosdem2026 kernel devroom

Avatar for Hajime Tazaki

Hajime Tazaki

February 01, 2026
Tweet

More Decks by Hajime Tazaki

Other Decks in Technology

Transcript

  1. hard to find bugs of nommu diff --git a/mm/nommu.c b/mm/nommu.c

    index 385b0c15add8..0c708f85408d 100644 --- a/mm/nommu.c +++ b/mm/nommu.c @@ -573,7 +573,7 @@ static int delete_vma_from_mm(struct vm_area_struct *vma) VMA_ITERATOR(vmi, vma->vm_mm, vma->vm_start); vma_iter_config(&vmi, vma->vm_start, vma->vm_end); - if (vma_iter_prealloc(&vmi, vma)) { + if (vma_iter_prealloc(&vmi, NULL)) { pr_warn("Allocation of vma tree for process %d failed\n", current->pid); return -ENOMEM; 6 