Re: [PATCH] x86: crash kernel reserve with reserve_early -v2

From: Eric W. Biederman
Date: Mon Nov 23 2009 - 00:13:16 EST


Yinghai Lu <yinghai@xxxxxxxxxx> writes:

> Eric W. Biederman wrote:
>> Yinghai Lu <yinghai@xxxxxxxxxx> writes:
>>
>>> use find_e820_area/reserve_early instead.
>>>
>>> -v2: address Eric's request, to restore original semantics.
>>> will fail, if the provided address can not be used.
>>
>> This patch seems reasonable.
>>
>> YH what is the benefit of using reserve_early, and moving
>> reserve_crashkernel earlier?
>
> old way mixing find_e820_area and reserve_bootmem like bandit...

Sounds like bitrot of the best practices.

> also there are some effects to remove bootmem, so we try to reduce bootmem reference.

Makes sense. Extent based allocators early allocators are much more efficient.

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