lkml.org 
[lkml]   [2008]   [Aug]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH] ftrace: use only 5 byte nops for x86
    Ingo Molnar wrote:
    >>>
    >>> TODO: Examine the cpuid to determine the nop to use.
    >>>
    >> Don't think that will help in general. qemu claims its a Pentium II.
    >
    > ok. I've applied Steve's patch as it's a good bugfix. The extra paranoia
    > about faulting on 0x90 seems excessive but doesnt hurt ;-)
    >

    I think what we need to do is to test the NOPL instruction and create a
    Linux-specific CPUID bit for it. I'll do that and submit to tip:x86/cpu.

    -hpa


    \
     
     \ /
      Last update: 2008-08-16 00:41    [W:0.021 / U:0.524 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site