From: Markus Armbruster Subject: Re: [PATCH] xc_map_foreign_pages(), a convenient alternative to xc_map_foreign_batch() Date: Thu, 06 Sep 2007 13:24:26 +0200 Message-ID: <871wdcavf9.fsf@pike.pond.sub.org> References: <87hcm9cbmh.fsf@pike.pond.sub.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: In-Reply-To: (Kevin Tian's message of "Thu\, 6 Sep 2007 15\:44\:21 +0800") List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: "Tian, Kevin" Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org "Tian, Kevin" writes: [...] > Also why do you need an extra allocation and copy to arr? To avoid clobbering the arr argument, which I feel would be a rather bad API. [...]