Diff a FreeBSD HEAD-ből: - /* - * XXX the map must be locked for write on entry, but - * there's no easy way to assert that. - */ - + KASSERT(vm_map_locked(map), ("kmem_back: map %p is not locked", map));