lkml.org 
[lkml]   [2018]   [Nov]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] x86: only use ERMS for user copies for larger sizes

* Ingo Molnar <mingo@kernel.org> wrote:

> So I dug into this some more:
>
> 1)
>
> Firstly I tracked down GCC bloating the might_fault() checks and the
> related out-of-line code exception handling which bloats the full
> generated function.

Sorry, I mis-remembered that detail when I wrote the email: it was
CONFIG_HARDENED_USERCOPY=y and its object size checks that distros enable
- and I disabled that option to simplify the size analysis.

(might_fault() doesn't have inline conditionals so shouldn't have any
effect on the generated code.)

Thanks,

Ingo

\
 
 \ /
  Last update: 2018-11-22 12:23    [W:0.165 / U:1.592 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site