Re: [PATCH v2][POWERPC] Fix initial lmb add region with a non-zero base

From: Kumar Gala
Date: Tue Feb 19 2008 - 22:02:29 EST



On Feb 19, 2008, at 6:30 PM, David Miller wrote:

From: Kumar Gala <galak@xxxxxxxxxxxxxxxxxxx>
Date: Tue, 19 Feb 2008 13:51:37 -0600 (CST)

If we add to an empty lmb region with a non-zero base we will not coalesce
the number of regions down to one. This causes problems on ppc32 for the
memory region as its assumed to only have one region.

We can fix this easily by causing the initial add to replace the dummy
region.

Signed-off-by: Kumar Gala <galak@xxxxxxxxxxxxxxxxxxx>
---

Fix a bug the initial patch introduced if we have a region that gets added
at the beginning of the list we wouldn't actually add it.

Dave can you replace the patch in you tree with this one.

I think my tree has already or will soon be pulled in so
I don't want to rebase it.

Why don't you simply send me the relative bug fix instead?

np. Are we trying to get this into 2.6.25 or .26?

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