[lkml]   [2011]   [Jun]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCH 2/8] x86, mce: remove redundant mce_available() checks
    On Mon, Jun 20, 2011 at 12:47:57AM -0400, Hidetoshi Seto wrote:
    > > I don't think this will ever happen so why complicate the code
    > > needlessly? This can only be executed if at least one of the cores on
    > > the system has CPUID(1)_EDX, bits 7 and 14 cleared and that's just
    > > silly.
    > This is a guard against such silly situation, isn't it?
    > I don't think it looks so complicated and needless.
    > I think this code will not run on systems with single socket as
    > long as the processor vendors are in the right mind.
    > But in cases when it is numa with strange nodes or when it is
    > migrated to/from misconfigured virtual machine I can't say that
    > with certainty.

    Let me put it this way: are you talking about a concrete example where
    there's machine with the BSP's MCA features enabled and the rest of the
    cores are not or is this some theoretical thing you're conjecturing?

    If it is the first I'd really like to know about it, if it's the second,
    then my initial point stands - no need to handle purely theoretical


    Advanced Micro Devices GmbH
    Einsteinring 24, 85609 Dornach
    GM: Alberto Bozzo
    Reg: Dornach, Landkreis Muenchen
    HRB Nr. 43632 WEEE Registernr: 129 19551

     \ /
      Last update: 2011-06-20 09:47    [W:2.063 / U:0.064 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site