lkml.org 
[lkml]   [2013]   [Dec]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] mm,x86: fix span coverage in e820_all_mapped()
On 12/10/2013 01:06 PM, Yinghai Lu wrote:
> On Tue, Dec 10, 2013 at 1:06 AM, Xishi Qiu <qiuxishi@huawei.com> wrote:
>> In the following case, e820_all_mapped() will return 1.
>> A < start < B-1 and B < end < C, it means <start, end> spans two regions.
>> <start, end>: [start - end]
>> e820 addr: ...[A - B-1][B - C]...
>
> should be [start, end) right?
> and
> [A, B),[B, C)
>

What happens if it spans more than two regions?

-hpa




\
 
 \ /
  Last update: 2013-12-10 22:41    [W:0.196 / U:0.128 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site