Re: [PATCH] x86/ldt: Initialize the context lock for init_mm

2019-07-01 Thread Nadav Amit
> On Jul 1, 2019, at 10:33 AM, Sebastian Andrzej Siewior > wrote: > > The mutex mm->context->lock for init_mm is not initialized for init_mm. > This wasn't a problem because it remained unused. This changed however > since commit > 4fc19708b165c ("x86/alternatives: Initialize temporary mm

[PATCH] x86/ldt: Initialize the context lock for init_mm

2019-07-01 Thread Sebastian Andrzej Siewior
The mutex mm->context->lock for init_mm is not initialized for init_mm. This wasn't a problem because it remained unused. This changed however since commit 4fc19708b165c ("x86/alternatives: Initialize temporary mm for patching") Initialize the mutex for init_mm. Fixes: 4fc19708b165c