Re: uvm_km_pgremove_intrsafe interface change

2011-04-01 Thread Miod Vallat
> the uvm_km_pgremove_intrsafe function requires pages to be mapped to free them > however it is then expected to call pmap_kremove(). This is > scary as in the page is freed, but is still mapped. > > Have uvm_km_pgremove_intrsafe() unmap as well as free. Well then it makes sense to move the pmap

uvm_km_pgremove_intrsafe interface change

2011-04-01 Thread Dale Rahn
the uvm_km_pgremove_intrsafe function requires pages to be mapped to free them however it is then expected to call pmap_kremove(). This is scary as in the page is freed, but is still mapped. Have uvm_km_pgremove_intrsafe() unmap as well as free. Index: uvm/uvm_glue.c =