Re: Unlock uvm a tiny bit more

2019-05-15 Thread Mike Larkin
On Tue, May 14, 2019 at 12:13:52AM +0200, Mark Kettenis wrote: > This changes uvm_unmap_detach() to get rid of the "easy" entries first > before grabbing the kernel lock. Probably doesn't help much with the > lock contention, but it avoids a locking problem that happens with > pools that use kerne

Unlock uvm a tiny bit more

2019-05-13 Thread Mark Kettenis
This changes uvm_unmap_detach() to get rid of the "easy" entries first before grabbing the kernel lock. Probably doesn't help much with the lock contention, but it avoids a locking problem that happens with pools that use kernel_map() to allocate the kva for their pages. ok? Index: uvm/uvm_map.