lkml.org 
[lkml]   [2017]   [Oct]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] paravirt/locks: avoid modifying static key before jump_label_init()

* Juergen Gross <jgross@suse.com> wrote:

> Don't try to set the static virt_spin_lock_key to a value before
> jump_label_init() has been called, as this will result in a WARN().
>
> Solve the problem by introducing a new lock_init() hook called after
> jump_label_init() instead of doing the call inside of
> smp_prepare_boot_cpu().
>
> Signed-off-by: Juergen Gross <jgross@suse.com>
> ---
> Based on kernel/git/tip/tip.git locking/core

Just a quick ping: what's the conclusion of the discussion, do we want this patch
as-is?

Also, it's unclear from the changelog under what circumstances this bug was
observed and what symptoms there are and how severe the bug - can the warning
trigger on vanilla v4.14?

Thanks,

Ingo

\
 
 \ /
  Last update: 2017-10-28 20:16    [W:0.317 / U:0.516 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site