Re: [PATCH v4 00/13] "Task_isolation" mode
From: Alex Belits <hidden>
Date: 2020-07-23 16:51:22
Also in:
linux-api, linux-arch, linux-arm-kernel, lkml
From: Alex Belits <hidden>
Date: 2020-07-23 16:51:22
Also in:
linux-api, linux-arch, linux-arm-kernel, lkml
On Thu, 2020-07-23 at 17:49 +0200, Peter Zijlstra wrote:
'What does noinstr mean? and why do we have it" -- don't dare touch the entry code until you can answer that.
noinstr disables instrumentation, so there would not be calls and dependencies on other parts of the kernel when it's not yet safe to call them. Relevant functions already have it, and I add an inline call to perform flags update and synchronization. Unless something else is involved, those operations are safe, so I am not adding anything that can break those. -- Alex