Re: [PATCH v5] x86: Enable fast strings on Intel if BIOS hasn't already
From: H. Peter Anvin
Date: Wed May 01 2013 - 13:25:56 EST
On 05/01/2013 09:34 AM, Theodore Ts'o wrote:
>
> In fact, there is the question of whether we should be checking to see
> if the CPU stepping is one of the ones with the bug, and if so, to
> have Linux disable fast strings even if the BIOS didn't, instead of
> blindly enabling fast strings....
>
The erratum reads seriously, but it only affects crossings between pages
of different page types, which is rare in itself. WT and WP are not
even used in Linux; the UC case we end up doing 8-byte stores instead of
the proper size, which is wrong, but for the case where the user is
malicious the user could just do that directly, and it seems extremely
hard to envision a scenario where someone would do that intentionally.
-hpa
--
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/