Index | Thread | Search

From:
Theo Buehler <tb@theobuehler.org>
Subject:
Re: Kill UVM_VNODE_VALID
To:
Martin Pieuchot <mpi@grenadille.net>
Cc:
tech@openbsd.org
Date:
Thu, 13 Nov 2025 13:51:41 +0100

Download raw body.

Thread
  • Martin Pieuchot:

    Kill UVM_VNODE_VALID

    • Theo Buehler:

      Kill UVM_VNODE_VALID

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