From: Ian Campbell Subject: Re: [PATCH RFC v2 4/9] xen/arm: Implement get_maximum_gpfn hypercall for arm Date: Thu, 4 Jul 2013 09:47:01 +0100 Message-ID: <1372927621.7184.11.camel@kazak.uk.xensource.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> <003601ce784a$be7d5180$3b77f480$%yoo@samsung.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <003601ce784a$be7d5180$3b77f480$%yoo@samsung.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Jaeyong Yoo Cc: 'Alexey Sokolov' , xen-devel@lists.xen.org, 'Tim Deegan' , 'Stefano Stabellini' List-Id: xen-devel@lists.xenproject.org On Thu, 2013-07-04 at 09:09 +0900, Jaeyong Yoo wrote: > > > > > > 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? I think we should, Tim may have some ideas about what such an interface should look like.