Re: [PATCH v5 9/9] x86: allocate space within a region top-down

Jesse Barnes
2010-10-26T22:35:00Z

On Tue, 26 Oct 2010 15:41:54 -0600
Bjorn Helgaas <bjorn.helgaas@hp.com> wrote:

>
> Request that allocate_resource() use available space from high addresses
> first, rather than the default of using low addresses first.
>
> The most common place this makes a difference is when we move or assign
> new PCI device resources. Low addresses are generally scarce, so it's
> better to use high addresses when possible. This follows Windows practice
> for PCI allocation.
>
> Reference: https://bugzilla.kernel.org/show_bug.cgi?id=16228#c42
> Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com>
> ---

Ok, applied this version to -next. It's been going through distros and
lots of testing despite a lack of recent coverage in PCI -next, so I'm
planning to send it to Linus this week. We probably won't catch much
more until it hits his tree anyway...

Thanks,
--
Jesse Barnes, Intel Open Source Technology Center