> On Dec 5, 2018, at 8:27 AM, Christos Zoulas <christos%zoulas.com@localhost> wrote: > > > This patch: > > https://www.netbsd.org/~christos/kmem_expose_address.diff PK_KMEM should only be set if mm_open returns 0. There's a case where mm_md_open can return an error and PK_KMEM is still set. -- thorpej