lkml.org 
[lkml]   [2015]   [Mar]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 2/2] livepatch: fix patched module loading race
On Wed, 4 Mar 2015, Josh Poimboeuf wrote:

> Well, we could just get a reference on all patched modules to prevent them
> from being unloaded.

Is that really a solution for cases where you are unloading a module (it
has "just" been switched to MODULE_STATE_GOING) and enable a patch which
patches one of its functions directly after it got switched to
MODULE_STATE_GOING?

--
Jiri Kosina
SUSE Labs


\
 
 \ /
  Last update: 2015-03-04 23:21    [W:0.088 / U:0.936 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site