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

From: Andi Kleen
Date: Sat Mar 03 2012 - 11:13:15 EST


"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.

-Andi

--
ak@xxxxxxxxxxxxxxx -- Speaking for myself only
--
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/