Re: [PATCH v4 01/10] Fix "x86/alternatives: Lockdep-enforce text_mutex in text_poke*()"

2018-11-12 Thread Jiri Kosina
On Mon, 12 Nov 2018, Masami Hiramatsu wrote: > > text_mutex is currently expected to be held before text_poke() is > > called, but we kgdb does not take the mutex, and instead *supposedly* > > ensures the lock is not taken and will not be acquired by any other > > core while text_poke() is

Re: [PATCH v4 01/10] Fix "x86/alternatives: Lockdep-enforce text_mutex in text_poke*()"

2018-11-12 Thread Jiri Kosina
On Mon, 12 Nov 2018, Masami Hiramatsu wrote: > > text_mutex is currently expected to be held before text_poke() is > > called, but we kgdb does not take the mutex, and instead *supposedly* > > ensures the lock is not taken and will not be acquired by any other > > core while text_poke() is

Re: [PATCH v4 01/10] Fix "x86/alternatives: Lockdep-enforce text_mutex in text_poke*()"

2018-11-11 Thread Masami Hiramatsu
On Sat, 10 Nov 2018 15:17:23 -0800 Nadav Amit wrote: > text_mutex is currently expected to be held before text_poke() is > called, but we kgdb does not take the mutex, and instead *supposedly* > ensures the lock is not taken and will not be acquired by any other core > while text_poke() is

Re: [PATCH v4 01/10] Fix "x86/alternatives: Lockdep-enforce text_mutex in text_poke*()"

2018-11-11 Thread Masami Hiramatsu
On Sat, 10 Nov 2018 15:17:23 -0800 Nadav Amit wrote: > text_mutex is currently expected to be held before text_poke() is > called, but we kgdb does not take the mutex, and instead *supposedly* > ensures the lock is not taken and will not be acquired by any other core > while text_poke() is

[PATCH v4 01/10] Fix "x86/alternatives: Lockdep-enforce text_mutex in text_poke*()"

2018-11-10 Thread Nadav Amit
text_mutex is currently expected to be held before text_poke() is called, but we kgdb does not take the mutex, and instead *supposedly* ensures the lock is not taken and will not be acquired by any other core while text_poke() is running. The reason for the "supposedly" comment is that it is not

[PATCH v4 01/10] Fix "x86/alternatives: Lockdep-enforce text_mutex in text_poke*()"

2018-11-10 Thread Nadav Amit
text_mutex is currently expected to be held before text_poke() is called, but we kgdb does not take the mutex, and instead *supposedly* ensures the lock is not taken and will not be acquired by any other core while text_poke() is running. The reason for the "supposedly" comment is that it is not