lkml.org 
[lkml]   [2015]   [Feb]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v1 00/12] x86, alternatives: Instruction padding and more robust JMPs
On Wed, Feb 18, 2015 at 10:20:13PM +0100, Ingo Molnar wrote:
> Do you have any stats about how many such (affected) patch
> sites we have in say the 64-bit defconfig kernel?

It is a good thing I have a tool to dump the alternatives patch sites
and what gets replaced by what. Because now I can create such stats just
like that! And hpa was questioning that tool's justification at the time
:-)

Anyway, here are the stats:

x86_64 defconfig:

Alternatives sites total: 2478
Total padding added (in Bytes): 6051

The padding is currently done for:

X86_FEATURE_ALWAYS
X86_FEATURE_ERMS
X86_FEATURE_LFENCE_RDTSC
X86_FEATURE_MFENCE_RDTSC
X86_FEATURE_SMAP

This is with the latest version of the patchset. Of course, on each
machine the alternatives sites actually being patched are a subset of
the total number.

--
Regards/Gruss,
Boris.

ECO tip #101: Trim your mails when you reply.
--


\
 
 \ /
  Last update: 2015-02-24 12:21    [W:0.165 / U:0.656 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site