Skip to content

Commit

Permalink
fix: Free PVM ranges on host_mmu_destroy again
Browse files Browse the repository at this point in the history
  • Loading branch information
pojntfx committed Apr 27, 2024
1 parent 4ab4dcb commit d28ceb1
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions patches/use-fixed-pvm-range.patch
Original file line number Diff line number Diff line change
Expand Up @@ -69,15 +69,6 @@ index a60a7c78c..3ead2b301 100644
return -1;

pml4_index_start = L4_PT_INDEX((u64)pvm_va_range->addr);
@@ -133,8 +131,6 @@ int __init host_mmu_init(void)

void host_mmu_destroy(void)
{
- if (pvm_va_range)
- free_vm_area(pvm_va_range);
if (host_mmu_root_pgd)
free_page((unsigned long)(void *)host_mmu_root_pgd);
if (host_mmu_la57_top_p4d)
diff --git a/mm/vmalloc.c b/mm/vmalloc.c
index 6e4b95f24..64ba3bbb4 100644
--- a/mm/vmalloc.c
Expand Down

0 comments on commit d28ceb1

Please sign in to comment.