Re: [PATCH 17/35] x86, lmb: Add x86 version of __lmb_find_area()

From: Yinghai Lu
Date: Fri May 14 2010 - 12:38:09 EST


On 05/14/2010 01:31 AM, Benjamin Herrenschmidt wrote:
> On Thu, 2010-05-13 at 23:47 -0700, Yinghai wrote:
>
>
>> for safe, and there is any problem with top to down allocation, we can
>> ask user to check if low to high works...
>>
>> not just make user to get broken kernel.
>>
> Hrm. That's a bit gross. But ok, I don't care that much as long as your
> x86 variant doesn't differ in semantics with the core lmb one and I'll
> let Peter and/or Thomas to scream at you if they think it's gross
> (hint: the code is)
>
>
>
those bits are line by line translation from current early_res code, and
have been used for a while.

so should be good as a fallback.

YH

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