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

From: Jesse Barnes
Date: Tue Oct 26 2010 - 18:35:11 EST


On Tue, 26 Oct 2010 15:41:54 -0600
Bjorn Helgaas <bjorn.helgaas@xxxxxx> 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@xxxxxx>
> ---

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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/