From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:58310) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aagpW-0001h3-Se for qemu-devel@nongnu.org; Tue, 01 Mar 2016 04:43:02 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aagpS-0006Ui-Sa for qemu-devel@nongnu.org; Tue, 01 Mar 2016 04:42:58 -0500 Received: from mail-wm0-x242.google.com ([2a00:1450:400c:c09::242]:36409) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aagpS-0006UW-Is for qemu-devel@nongnu.org; Tue, 01 Mar 2016 04:42:54 -0500 Received: by mail-wm0-x242.google.com with SMTP id l68so3112489wml.3 for ; Tue, 01 Mar 2016 01:42:54 -0800 (PST) Sender: Paolo Bonzini References: <1456813104-25902-1-git-send-email-famz@redhat.com> <1456813104-25902-7-git-send-email-famz@redhat.com> From: Paolo Bonzini Message-ID: <56D56419.7050409@redhat.com> Date: Tue, 1 Mar 2016 10:42:49 +0100 MIME-Version: 1.0 In-Reply-To: <1456813104-25902-7-git-send-email-famz@redhat.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH v2 6/7] exec: Factor out section_covers_addr List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Fam Zheng , qemu-devel@nongnu.org Cc: arei.gonglei@huawei.com, peterx@redhat.com On 01/03/2016 07:18, Fam Zheng wrote: > + /* Memory topology clips a memory region to 2^64, size.hi >= 0 means the > + * section must cover any addr. */ Small improvement: /* Memory topology clips a memory region to [0, 2^64); size.hi > 0 means * the section must cover the entire address space. */ Paolo