Re: [tip:x86/urgent] x86, mm: Find_early_table_space based on rangesthat are actually being mapped

From: Yinghai Lu
Date: Thu Oct 25 2012 - 10:33:24 EST


On Thu, Oct 25, 2012 at 12:55 AM, Ingo Molnar <mingo@xxxxxxxxxx> wrote:
>> > - ptes = (end + PAGE_SIZE - 1) >> PAGE_SHIFT;
>> > + /* The first 2/4M doesn't use large pages. */
>> > + if (mr[i].start < PMD_SIZE)
>> > + extra += range;
>>
>> those three lines should be added back.

missed "not" ...

>>
>> it just get reverted in 7b16bbf9
>
> Could you please send a delta patch against tip:x86/urgent?

please check attached one.

Thanks

Yinghai

Attachment: remove_wrong_addback.patch
Description: Binary data