From: Jaeyong Yoo Subject: Re: [PATCH RFC v2 4/9] xen/arm: Implement get_maximum_gpfn hypercall for arm Date: Thu, 04 Jul 2013 09:09:25 +0900 Message-ID: <003601ce784a$be7d5180$3b77f480$%yoo@samsung.com> References: <1372842943-27482-1-git-send-email-jaeyong.yoo@samsung.com> <1372842943-27482-5-git-send-email-jaeyong.yoo@samsung.com> <1372851307.27768.219.camel@zakaz.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-reply-to: <1372851307.27768.219.camel@zakaz.uk.xensource.com> Content-language: ko List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: 'Ian Campbell' , 'Stefano Stabellini' Cc: 'Alexey Sokolov' , 'Tim Deegan' , xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org > > > > Rather than implementing p2m_get_next_non_used_gpfn, I think we should > > keep track of the maximum gpfn, like we do on x86, see: > > ISTR Tim wanting to get rid of this concept on x86. > > Anything which is walking the P2M should be doing so via iterator based > interfaces and not by looping on O...N where N is potentially guest > controlled. Not to mention 0...N might be quite sparse. > I guess we are now going to implment via iterator? Jaeyong