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

Ingo Molnar
2010-10-27T06:24:26Z

* Jesse Barnes <jbarnes@virtuousgeek.org> wrote:

> 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...

It also appears to fix a serious compatibility bug (and a v2.6.34 regression), so
even without extensive distro testing it's wise to push this upstream ASAP IMHO ...

Thanks,

Ingo