All of lore.kernel.org
 help / color / mirror / Atom feed
From: "H. Peter Anvin" <hpa@zytor.com>
To: Yinghai Lu <yinghai@kernel.org>
Cc: Xishi Qiu <qiuxishi@huawei.com>,
	Thomas Gleixner <tglx@linutronix.de>,
	Ingo Molnar <mingo@redhat.com>,
	the arch/x86 maintainers <x86@kernel.org>,
	Linn Crosetto <linn@hp.com>, Pekka Enberg <penberg@kernel.org>,
	LKML <linux-kernel@vger.kernel.org>,
	Andrew Morton <akpm@linux-foundation.org>,
	Linux MM <linux-mm@kvack.org>
Subject: Re: [PATCH] mm,x86: fix span coverage in e820_all_mapped()
Date: Tue, 10 Dec 2013 14:51:57 -0800	[thread overview]
Message-ID: <52A79B0D.4090303@zytor.com> (raw)
In-Reply-To: <CAE9FiQU8Y_thGxZamz0Uwt4FGXh7KJu7jGP8ED3dbjQuyq7vcQ@mail.gmail.com>

On 12/10/2013 01:52 PM, Yinghai Lu wrote:
>>
>> What happens if it spans more than two regions?
> 
> [A, B), [B+1, C), [C+1, D) ?
> start in [A, B), and end in [C+1, D).
> 
> old code:
> first with [A, B), start set to B.
> then with [B+1, C), start still keep as B.
> then with [C+1, D), start still keep as B.
> at last still return 0...aka not_all_mapped.
> 
> old code is still right.
> 

Why not_all_mapped?

	-hpa

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

WARNING: multiple messages have this Message-ID (diff)
From: "H. Peter Anvin" <hpa@zytor.com>
To: Yinghai Lu <yinghai@kernel.org>
Cc: Xishi Qiu <qiuxishi@huawei.com>,
	Thomas Gleixner <tglx@linutronix.de>,
	Ingo Molnar <mingo@redhat.com>,
	the arch/x86 maintainers <x86@kernel.org>,
	Linn Crosetto <linn@hp.com>, Pekka Enberg <penberg@kernel.org>,
	LKML <linux-kernel@vger.kernel.org>,
	Andrew Morton <akpm@linux-foundation.org>,
	Linux MM <linux-mm@kvack.org>
Subject: Re: [PATCH] mm,x86: fix span coverage in e820_all_mapped()
Date: Tue, 10 Dec 2013 14:51:57 -0800	[thread overview]
Message-ID: <52A79B0D.4090303@zytor.com> (raw)
In-Reply-To: <CAE9FiQU8Y_thGxZamz0Uwt4FGXh7KJu7jGP8ED3dbjQuyq7vcQ@mail.gmail.com>

On 12/10/2013 01:52 PM, Yinghai Lu wrote:
>>
>> What happens if it spans more than two regions?
> 
> [A, B), [B+1, C), [C+1, D) ?
> start in [A, B), and end in [C+1, D).
> 
> old code:
> first with [A, B), start set to B.
> then with [B+1, C), start still keep as B.
> then with [C+1, D), start still keep as B.
> at last still return 0...aka not_all_mapped.
> 
> old code is still right.
> 

Why not_all_mapped?

	-hpa


  reply	other threads:[~2013-12-10 22:52 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-12-10  9:06 [PATCH] mm,x86: fix span coverage in e820_all_mapped() Xishi Qiu
2013-12-10  9:06 ` Xishi Qiu
2013-12-10 21:06 ` Yinghai Lu
2013-12-10 21:06   ` Yinghai Lu
2013-12-10 21:29   ` H. Peter Anvin
2013-12-10 21:29     ` H. Peter Anvin
2013-12-10 21:52     ` Yinghai Lu
2013-12-10 21:52       ` Yinghai Lu
2013-12-10 22:51       ` H. Peter Anvin [this message]
2013-12-10 22:51         ` H. Peter Anvin
2013-12-11  0:35         ` Yinghai Lu
2013-12-11  0:35           ` Yinghai Lu
2013-12-11  1:06           ` H. Peter Anvin
2013-12-11  1:06             ` H. Peter Anvin
2013-12-11  1:42             ` Xishi Qiu
2013-12-11  1:42               ` Xishi Qiu
2013-12-11  1:35   ` Xishi Qiu
2013-12-11  1:35     ` Xishi Qiu
2013-12-11  2:55     ` H. Peter Anvin
2013-12-11  2:55       ` H. Peter Anvin
2013-12-11  3:55       ` Xishi Qiu
2013-12-11  3:55         ` Xishi Qiu
2013-12-11  4:02         ` H. Peter Anvin
2013-12-11  4:02           ` H. Peter Anvin
2013-12-11  4:39           ` Xishi Qiu
2013-12-11  4:39             ` Xishi Qiu
2013-12-11  5:27             ` H. Peter Anvin
2013-12-11  5:27               ` H. Peter Anvin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=52A79B0D.4090303@zytor.com \
    --to=hpa@zytor.com \
    --cc=akpm@linux-foundation.org \
    --cc=linn@hp.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=mingo@redhat.com \
    --cc=penberg@kernel.org \
    --cc=qiuxishi@huawei.com \
    --cc=tglx@linutronix.de \
    --cc=x86@kernel.org \
    --cc=yinghai@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.