• S
    x86, xsave: Sync xsave memory layout with its header for user handling · 29104e10
    Suresh Siddha 提交于
    With xsaveopt, if a processor implementation discern that a processor state
    component is in its initialized state it may modify the corresponding bit in
    the xsave_hdr.xstate_bv as '0', with out modifying the corresponding memory
    layout. Hence wHile presenting the xstate information to the user, we always
    ensure that the memory layout of a feature will be in the init state if the
    corresponding header bit is zero. This ensures the consistency and avoids the
    condition of the user seeing some some stale state in the memory layout during
    signal handling, debugging etc.
    Signed-off-by: NSuresh Siddha <suresh.b.siddha@intel.com>
    LKML-Reference: <20100719230205.351459480@sbs-t61.sc.intel.com>
    Signed-off-by: NH. Peter Anvin <hpa@linux.intel.com>
    29104e10
i387.c 17.3 KB