There's no easy way to assert that
2010.09.21. 09:38
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));