Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754868AbYGNQ1E (ORCPT ); Mon, 14 Jul 2008 12:27:04 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753029AbYGNQ0x (ORCPT ); Mon, 14 Jul 2008 12:26:53 -0400 Received: from smtp1.linux-foundation.org ([140.211.169.13]:32838 "EHLO smtp1.linux-foundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751153AbYGNQ0w (ORCPT ); Mon, 14 Jul 2008 12:26:52 -0400 Date: Mon, 14 Jul 2008 09:26:33 -0700 (PDT) From: Linus Torvalds To: Avi Kivity cc: Ingo Molnar , Linux Kernel Mailing List , Andrew Morton Subject: Re: [git pull] core, x86: make LIST_POISON less deadly In-Reply-To: <487B7A10.9050104@qumranet.com> Message-ID: References: <20080714144828.GA22666@elte.hu> <20080714151247.GA27145@elte.hu> <487B7A10.9050104@qumranet.com> User-Agent: Alpine 1.10 (LFD 962 2008-03-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1079 Lines: 31 On Mon, 14 Jul 2008, Avi Kivity wrote: > > We could add a printk to the #GP handler that alerts the reader that a > poisoned list is suspected, if we find the address pattern in one of the > registers. I wouldn't worry too much - it's going to be pretty visible anyway. The only thing I _would_ worry about is the AMD prefetch bug - some AMD cores raise a spurious page fault for prefetch instructions, and we ignore it. I _think_ that bug is a pure TLB issue and would never trigger for an address that doesn't do page fault handling at all because it gets caught in the "is the address valid" code, but it does make me go "Hmm". See http://lkml.org/lkml/2003/9/10/397 from Rich Brunner. The AMD errata listing does say just page fault, and does talk about speculative TLB reloads, so I think we're all good. Linus -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/