Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757846Ab0LMNsb (ORCPT ); Mon, 13 Dec 2010 08:48:31 -0500 Received: from mx3.mail.elte.hu ([157.181.1.138]:40684 "EHLO mx3.mail.elte.hu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757617Ab0LMNs2 (ORCPT ); Mon, 13 Dec 2010 08:48:28 -0500 Date: Mon, 13 Dec 2010 14:47:39 +0100 From: Ingo Molnar To: Bjorn Helgaas Cc: "Rafael J. Wysocki" , Jesse Barnes , Linus Torvalds , Len Brown , linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org, linux-acpi@vger.kernel.org, "H. Peter Anvin" , Thomas Gleixner , Adam Belay , Matthew Garrett , Dan Williams Subject: Re: [PATCH 1/5] resources: add arch hook for preventing allocation in reserved areas Message-ID: <20101213134739.GA27941@elte.hu> References: <20101208213606.13026.47657.stgit@bob.kio> <20101211201615.79186de7@jbarnes-desktop> <201012121420.57217.rjw@sisk.pl> <20101213054334.GA15856@helgaas.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20101213054334.GA15856@helgaas.com> User-Agent: Mutt/1.5.20 (2009-08-17) X-ELTE-SpamScore: -2.0 X-ELTE-SpamLevel: X-ELTE-SpamCheck: no X-ELTE-SpamVersion: ELTE 2.0 X-ELTE-SpamCheck-Details: score=-2.0 required=5.9 tests=BAYES_00 autolearn=no SpamAssassin version=3.2.5 -2.0 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1809 Lines: 40 * Bjorn Helgaas wrote: > > OK, so I guess the best thing we can do for 2.6.37 is to revert 1af3c2e (x86: > > allocate space within a region top-down), right? > > That's a possibility, but I'm not sure it's the best. It would avoid the nx6325 > landmine, but we could easily step on a different one on other machines. > > If Windows uses the end of available space first, that's the best-tested > territory, and I think it's better to try to stay in it rather revert 1af3c2e and > start mapping different territory that really isn't tested by Windows at all. > > On the nx6325, we stray out of that tested territory because Linux opens windows > on subtractive-decode bridges and allocates more space to CardBus bridges. > > I think it'd be fairly simple to leave subtractive-decode bridges alone, and that > might make the nx6325 work well enough for .37, even without the quirk. This > feels like a change that might be the right thing to do in general. Using > subtractive rather than positive decode would give up a little performance, but I > doubt it's important Is there a patch for that that people could try? The regression needs to be addressed one way or another: either by improving the "compatible with Windows" approach to actually work (without quirks), or by reverting to the tested-for-years Linux solution. ( What we always try to avoid is trading in a set of regressions for another set of regressions. That way lies madness, it can not result in reliable, provable progress. ) Thanks, Ingo -- 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/