Re: anon & pmap_page_protect

2023-09-01 Thread Mark Kettenis
> Date: Fri, 1 Sep 2023 23:02:59 +0200 > From: Martin Pieuchot > > On 12/08/23(Sat) 10:43, Martin Pieuchot wrote: > > Since UVM has been imported, we zap mappings associated to anon pages > > before deactivating or freeing them. Sadly, with the introduction of > > locking for amaps & anons, I

Re: anon & pmap_page_protect

2023-09-01 Thread Martin Pieuchot
On 12/08/23(Sat) 10:43, Martin Pieuchot wrote: > Since UVM has been imported, we zap mappings associated to anon pages > before deactivating or freeing them. Sadly, with the introduction of > locking for amaps & anons, I added new code paths that do not respect > this behavior. > The diff below

vmd/vmm: remove an ioctl from the vcpu hotpath, go brrr

2023-09-01 Thread Dave Voutila
Now that my i8259 fix is in, it's safe to expand the testing pool for this diff. (Without that fix, users would definitely hit the hung block device issue testing this one.) Hoping that folks that run non-OpenBSD guests or strange configurations can give it a spin. This change removes an ioctl(2)