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

From: Ingo Molnar
Date: Wed Oct 27 2010 - 02:24:28 EST



* Jesse Barnes <jbarnes@xxxxxxxxxxxxxxxx> wrote:

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

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