Don't forget to pmap_update after pmap_kremove!
This commit is contained in:
parent
dd5f48796e
commit
34216073bb
@ -759,6 +759,7 @@ void ttm_bo_kunmap(struct ttm_bo_kmap_obj *map)
|
|||||||
case ttm_bo_map_vmap:
|
case ttm_bo_map_vmap:
|
||||||
#ifdef __NetBSD__
|
#ifdef __NetBSD__
|
||||||
pmap_kremove((vaddr_t)map->virtual, map->u.uvm.vsize);
|
pmap_kremove((vaddr_t)map->virtual, map->u.uvm.vsize);
|
||||||
|
pmap_update(pmap_kernel());
|
||||||
uvm_km_free(kernel_map, (vaddr_t)map->virtual,
|
uvm_km_free(kernel_map, (vaddr_t)map->virtual,
|
||||||
map->u.uvm.vsize, UVM_KMF_VAONLY);
|
map->u.uvm.vsize, UVM_KMF_VAONLY);
|
||||||
#else
|
#else
|
||||||
|
Loading…
Reference in New Issue
Block a user