Re: [patches] [PATCH] [4/12] x86_64: Disable CLFLUSH supportagain

From: Jan Beulich
Date: Thu Aug 09 2007 - 09:28:52 EST


>>> Muli Ben-Yehuda <muli@xxxxxxxxxx> 09.08.07 15:11 >>>
>On Thu, Aug 09, 2007 at 02:41:31PM +0200, Andi Kleen wrote:
>>
>> It turns out CLFLUSH support is still not complete; we
>> flush the wrong pages. Again disable it for the release.
>> Noticed by Jan Beulich.
>>
>> Signed-off-by: Andi Kleen <ak@xxxxxxx>
>
>Aside from the bug Jan pointed out with the patch, we're also using
>cflflush in other places (arch/i386/kernel/alternative.c and
>arch/x86_64/kernel/tce.c). Is the issue with clflush support specific
>to pageattr.c or should it be disabled every else too? what
>specifically is the issue?

The issue here is not with clflush by itself, but with what pages it is being
applied to. Here, it gets used on page table pages when flushing really is
needed on what one or more page table entries in that page table page
point(ed) to.

Jan

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/