lkml.org 
[lkml]   [2019]   [May]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Oops caused by race between livepatch and ftrace
On Tue, May 21, 2019 at 11:42:27AM -0500, Josh Poimboeuf wrote:
> void module_enable_ro(const struct module *mod, bool after_init)
> {
> + lockdep_assert_held(&text_mutex);
> +

This assertion fails, it turns out the module code also calls this
function (oops). I may move the meat of this function to a
__module_enable_ro() which the module code can call.

--
Josh

\
 
 \ /
  Last update: 2019-05-22 15:01    [W:0.117 / U:0.936 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site