Thread (33 messages) 33 messages, 6 authors, 2021-10-26

Re: [PATCH v2 0/5] mm/mprotect: avoid unnecessary TLB flushes

From: Dave Hansen <hidden>
Date: 2021-10-26 16:12:40
Also in: lkml

On 10/22/21 2:58 PM, Nadav Amit wrote:
quoted
[1/5] appears to be a significant fix which should probably be
backported into -stable kernels.  If you agree with this then I suggest
it be prepared as a standalone patch, separate from the other four
patches.  With a cc:stable.
There is no functionality bug in the kernel. The Knights Landing bug
was circumvented eventually by changing the swap entry structure so
the access/dirty bits would not overlap with the swap entry data.
Yeah, it was a significant issue, but we fixed it in here:
commit 00839ee3b299303c6a5e26a0a2485427a3afcbbf
Author: Dave Hansen [off-list ref]
Date:   Thu Jul 7 17:19:11 2016 -0700

    x86/mm: Move swap offset/type up in PTE to work around erratum
  
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help