[RFC PATCH 1/5] module: Wait for RCU synchronizing before releasing a module

2014-08-25 Thread Masami Hiramatsu
Wait for RCU synchronizing on failure path of module loading before releasing struct module, because the memory of mod->list can still be accessed by list walkers (e.g. kallsyms). Signed-off-by: Masami Hiramatsu --- kernel/module.c |2 ++ 1 file changed, 2 insertions(+) diff --git

[RFC PATCH 1/5] module: Wait for RCU synchronizing before releasing a module

2014-08-25 Thread Masami Hiramatsu
Wait for RCU synchronizing on failure path of module loading before releasing struct module, because the memory of mod-list can still be accessed by list walkers (e.g. kallsyms). Signed-off-by: Masami Hiramatsu masami.hiramatsu...@hitachi.com --- kernel/module.c |2 ++ 1 file changed, 2