From: Theo Buehler Subject: Re: Kill UVM_VNODE_VALID To: Martin Pieuchot Cc: tech@openbsd.org Date: Thu, 13 Nov 2025 13:51:41 +0100 On Mon, Nov 10, 2025 at 05:39:37PM +0000, Martin Pieuchot wrote: > Now that "mmap descriptors" are allocated as part of uvn_attach() a NULL > check is enough for testing validity. The diff below gets rid of this > flag and assert that the KERNEL_LOCK() is held when checking if the > descriptor associated to a vnode is NULL or not. Reads and works fine ok tb