Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Do 'shm_init_ns()' in an early pure_initcall
This isn't really critical any more, since other patches (commit 298507d: "shm: optimize exit_shm()") have caused us to not actually need to touch the rw_mutex unless there are actual shm segments associated with the namespace, but we really should do tne shm_init_ns() earlier than we do now. This, together with commit 288d5ab ("Boot up with usermodehelper disabled") will mean that we really do initialize the initial ipc namespace data structure before we run any tasks. Tested-by: Marc Zyngier <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
- Loading branch information