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 16:34:12 +0200 Message-ID: <51360264.3070004@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? Haven't tried it yet, I've just noticed that all the example code using it hardcoded '1' as the number of pages it asks for, xenaccess.c has a comment to the effect of "/* Map the ring _page_ */", and so on. Thanks, Razvan Cojocaru