Searched hist:124882 (Results 1 - 1 of 1) sorted by relevance
/freebsd-10-stable/sys/sys/ | ||
H A D | _task.h | 124882 Fri Jan 23 18:44:26 MST 2004 rwatson Defer the vrele() on a jail's root vnode reference from prison_free() to a new prison_complete() task run by a task queue. This removes a requirement for grabbing Giant in crfree(). Embed the 'struct task' in 'struct prison' so that we don't have to allocate memory from prison_free() (which means we also defer the FREE()). With this change, I believe grabbing Giant from crfree() can now be removed, but need to check the uidinfo code paths. To avoid header pollution, move the definition of 'struct task' to _task.h, and recursively include from taskqueue.h and jail.h; much preferably to all files including jail.h picking up a requirement to include taskqueue.h. Bumped into by: sam Reviewed by: bde, tjr |
Completed in 69 milliseconds