Re: Word-at-a-time dcache name accesses

From: H. Peter Anvin
Date: Sat Mar 03 2012 - 13:47:50 EST


On 03/03/2012 08:12 AM, Andi Kleen wrote:
> "H. Peter Anvin" <hpa@xxxxxxxxx> writes:
>
>> On 03/02/2012 03:46 PM, Linus Torvalds wrote:
>>>
>>> Comments?
>>>
>>
>> My biggest concern is what happens when this happens to be at the end of
>> mapped kernel memory and we overrun the page?
>
> A long time ago (AMD K7ish) we had hardware bugs to work around in
> this area. Overlapping into some PCI hole MMIO areas could cause obscure
> hangs. That is why I was always careful to not do that in any x86
> library code.
>

We still map too much, though. That's a separate problems which should
be fixed in its own right, though.

-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/