Messages in this thread | | | Date | Fri, 6 Mar 2015 08:43:20 -0600 | From | Josh Poimboeuf <> | Subject | Re: [PATCH 2/2] livepatch: fix patched module loading race |
| |
On Fri, Mar 06, 2015 at 08:37:26PM +0900, Masami Hiramatsu wrote: > Actually, we can suppose this module unloading context is > not changing universe. thus it is expected behavior, isn't it?
In the case of my proposed consistency model RFC, if the module unloading task gets preempted, or if mod->exit() calls schedule(), its task can switch to the new universe before it's done.
And for many modules it could also be possible for other contexts to access the module's functions in the GOING state before mod->exit() disables them.
-- Josh
| |