linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [RFC][v2] x86: remove Intel MPX
@ 2019-01-04 17:49 Dave Hansen
  2019-01-04 17:49 ` [PATCH 1/5] x86/mpx: remove MPX APIs Dave Hansen
                   ` (4 more replies)
  0 siblings, 5 replies; 8+ messages in thread
From: Dave Hansen @ 2019-01-04 17:49 UTC (permalink / raw)
  To: dave.hansen
  Cc: x86, Dave Hansen, Andy Lutomirski, Peter Zijlstra, Paolo Bonzini,
	Andrew Morton, linux-kernel, linux-mm

Here's a second attempt at MPX removal.  The first one was not friendly
to KVM live migration.  We should probably apply the first two patches
(at least) for 4.20+1.

--

Unfortunately, GCC 9.1 is expected to be be released without support for
MPX.  This means that there was only a relatively small window where
folks could have ever used MPX.  It failed to gain wide adoption in the
industry, and Linux was the only mainstream OS to ever support it widely.

Support for the feature may also disappear on future processors.

The benefits of keeping the feature in the tree is not worth the ongoing
maintenance cost.  This is an incremental, bisectable, set that removes
MPX bit by bit.  The only MPX code left in the kernel is the XSAVE state
management which is currently still needed for guests that might use MPX.
Keeping this code prevents breaking live migration between kernels which
have MPX removed versus present.

It was a fun run, but it's time for it to go.  Adios, MPX!

Cc: x86@kernel.org
Cc: Dave Hansen <dave.hansen@linux.intel.com>
Cc: Andy Lutomirski <luto@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Paolo Bonzini <pbonzini@redhat.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: linux-kernel@vger.kernel.org
Cc: linux-mm@kvack.org

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2019-01-04 22:34 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-01-04 17:49 [RFC][v2] x86: remove Intel MPX Dave Hansen
2019-01-04 17:49 ` [PATCH 1/5] x86/mpx: remove MPX APIs Dave Hansen
2019-01-04 17:49 ` [PATCH 2/5] x86/mpx: remove bounds exception code Dave Hansen
2019-01-04 17:49 ` [PATCH 3/5] mm: remove MPX hooks from generic code Dave Hansen
2019-01-04 22:33   ` kbuild test robot
2019-01-04 22:33     ` kbuild test robot
2019-01-04 17:49 ` [PATCH 4/5] x86/mpx: remove build infratsructure Dave Hansen
2019-01-04 17:49 ` [PATCH 5/5] x86/mpx: remove MPX from arch/x86 Dave Hansen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox