From mboxrd@z Thu Jan 1 00:00:00 1970 From: "H. Peter Anvin" Subject: Re: Word-at-a-time dcache name accesses Date: Sat, 03 Mar 2012 10:47:43 -0800 Message-ID: <4F52674F.3010508@zytor.com> References: <4F516811.8060800@zytor.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Linus Torvalds , Linux Kernel Mailing List , linux-fsdevel , Al Viro To: Andi Kleen Return-path: In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org On 03/03/2012 08:12 AM, Andi Kleen wrote: > "H. Peter Anvin" 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