Re: [PATCH] mm,x86: fix span coverage in e820_all_mapped()

From: H. Peter Anvin
Date: Wed Dec 11 2013 - 00:28:22 EST


Is that an actual requirement of the API?

Xishi Qiu <qiuxishi@xxxxxxxxxx> wrote:
>On 2013/12/11 12:02, H. Peter Anvin wrote:
>
>> On 12/10/2013 07:55 PM, Xishi Qiu wrote:
>>>
>>> I think there is a problem.
>>> e.g.
>>> [start, end)=[8, 12), and [A, B)=[0, 10), [B, C)=[10,20),
>>> then e820_all_mapped() will return 1, it spans two regions.
>>>
>>
>> Why is that a problem?
>>
>
>[start, end) should be included in one region ?
>
>Thanks,
>Xishi Qiu
>
>> -hpa
>>
>>
>>
>>

--
Sent from my Android phone with K-9 Mail. Please excuse my brevity.
--
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/