Re: [PATCH v5] x86: Enable fast strings on Intel if BIOS hasn't already

From: Andy Lutomirski
Date: Wed May 01 2013 - 14:18:50 EST


On Wed, May 1, 2013 at 10:54 AM, H. Peter Anvin <hpa@xxxxxxxxx> wrote:
> On 05/01/2013 10:50 AM, Andy Lutomirski wrote:
>>
>> Isn't the upper half incompatible with large pages?
>>
>
> No, just with attributes *on the page tables themselves*.

Thanks :) Now I found the somewhat alarming algorithm in section 4.9.2.

This will be a bit unpleasant, though, since the _PAGE_CACHE_xxx
macros will become rather confused. I suppose there's no fundamental
reason that pgprot_t has to correspond to pmd bit positions. Sigh.

--Andy

>
> -hpa
>



--
Andy Lutomirski
AMA Capital Management, LLC
--
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/