lkml.org 
[lkml]   [2018]   [Nov]   [23]   [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
On Thu, Nov 22, 2018 at 12:13:41PM +0100, Ingo Molnar wrote:
> Note to self: watch out for patches that change altinstructions and don't
> make premature vmlinux size impact assumptions. :-)

I noticed a similar problem with ORC data. As it turns out, size's
"text" calculation also includes read-only sections. That includes
.rodata and anything else not writable.

Maybe we need a more sensible "size" script for the kernel. It would be
trivial to implement based on the output of "readelf -S vmlinux".

--
Josh

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