lkml.org 
[lkml]   [2018]   [Jan]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: Linux 4.15-rc7
On Fri, Jan 12, 2018 at 5:23 AM, Arnd Bergmann <arnd@arndb.de> wrote:
>
> However, there is an important difference between KPTI and X86_4G:
> The former unmaps the kernel pages from the user space page tables,
> but keeps both the linear mapping and the user pages visible in
> kernel mode, while the latter must have also unmapped user space
> pages from kernel mode, requiring a more expensive get_user/put_user
> implementation.

Indeed. And I think that the 4G:4G patches do things wrong.

People are already complaining about the PTI costs. Separating user
space entirely is much much worse, and makes all user accesses from
kernel space too painful for words.

Honestly, I didn't merge the old 4G:4G patches originally, and I'm not
going to merge them this time around either.

Linus

\
 
 \ /
  Last update: 2018-01-14 23:26    [W:0.092 / U:1.784 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site