Merge branch 'x86-pti-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git...
authorLinus Torvalds <torvalds@linux-foundation.org>
Tue, 5 Mar 2019 20:50:34 +0000 (12:50 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 5 Mar 2019 20:50:34 +0000 (12:50 -0800)
commitedaed168e135f8ec87b27b567a367cbb041f2243
treedc56708c4a2c6ace03c8a7211e941c8911a17092
parent78f860135433a8bba406352fbdcea8e8980583bf
parent71368af9027f18fe5d1c6f372cfdff7e4bde8b48
Merge branch 'x86-pti-for-linus' of git://git./linux/kernel/git/tip/tip

Pull x86/pti update from Thomas Gleixner:
 "Just a single change from the anti-performance departement:

   - Add a new PR_SPEC_DISABLE_NOEXEC option which allows to apply the
     speculation protections on a process without inheriting the state
     on exec.

     This remedies a situation where a Java-launcher has speculation
     protections enabled because that's the default for JVMs which
     causes the launched regular harmless processes to inherit the
     protection state which results in unintended performance
     degradation"

* 'x86-pti-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
  x86/speculation: Add PR_SPEC_DISABLE_NOEXEC
arch/x86/kernel/cpu/bugs.c
include/linux/sched.h