[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20071221003913.GA6220@twiddle.net>
Date: Thu, 20 Dec 2007 16:39:13 -0800
From: Richard Henderson <rth@...ddle.net>
To: Linus Torvalds <torvalds@...ux-foundation.org>
Cc: Chuck Ebbert <cebbert@...hat.com>,
linux-kernel <linux-kernel@...r.kernel.org>,
Ivan Kokshaysky <ink@...assic.park.msu.ru>,
Daniel Ritz <daniel.ritz@....ch>, Greg KH <greg@...ah.com>,
Keith Packard <keithp@...thp.com>,
Bjorn Helgaas <bjorn.helgaas@...com>
Subject: Re: PCI resource problems caused by improper address rounding
On Thu, Dec 20, 2007 at 02:24:48PM -0800, Linus Torvalds wrote:
> I'm not exactly 100% happy with it, but it does mean that if we need a big
> area, we'll relax the suggested starting point by that amount. It's not
> wonderful, but it essentially admits that the minimum for the allocations
> is really just a hint, and if we need lots of space for a resource, we'll
> relax the minimum point appropriately.
This breaks in odd cases where the amount of memory in the system
is not a nice round number. Like throwing two 128MB sticks into
a system that already has 2gb. A 512MB allocation will get placed
back at 2gb, on top of the end of ram. In order to get this kind
of thing to work, you'd have to have a hard and a soft minimum.
Even then, any random large allocation is going to ignore that
buffer that you added. It'd be better if we could still tie this
ignoring of the buffer to whether the bios placed the resource
there in the first place.
Perhaps this is one of those things that just aren't going to be
solved properly without an xserver upgrade...
r~
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists