void
kmem_free(void *p, size_t size)
)
frees kernel wired memory allocated by
kmem_alloc()
or
kmem_zalloc()
so that it can be used for other purposes.
It takes the following arguments.
p)
or
kmem_zalloc().
sizesize
argument used for
kmem_alloc()
or
kmem_zalloc()
when the memory was allocated.
Freeing
NULL
is illegal.
)
can not be used from interrupt context.