From mboxrd@z Thu Jan 1 00:00:00 1970 From: Razvan Cojocaru Subject: Re: Multiple-page mem_event ring buffer? Date: Tue, 05 Mar 2013 17:00:30 +0200 Message-ID: <5136088E.2060407@gmail.com> References: <5135F162.9060909@gmail.com> <20130305142140.GH2589@phenom.dumpdata.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20130305142140.GH2589@phenom.dumpdata.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: "xen-devel@lists.xen.org" List-Id: xen-devel@lists.xenproject.org >> Could I safely use more than one page for the ring buffer (passing >> '2' as the last parameter of xc_map_foreign_batch(), and so on), or >> am I limited to 1 page by design? > > You should be able to as many as you want. Are you hitting any > particular issues? Actually, now that I've tried it, xc_domain_decrease_reservation_exact(xch, domain, RING_PAGES, 0, &ring_pfn) is failing for any RING_PAGES > 1. Any ideas? Thanks, Razvan Cojocaru