WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] How do we add more memory ops?

To: <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] How do we add more memory ops?
From: "Guy Zana" <guy@xxxxxxxxxxxx>
Date: Tue, 8 May 2007 06:13:55 -0400
Delivery-date: Tue, 08 May 2007 03:15:50 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AceRWZWdZAZETvdLQYqHLskUBnzmKA==
Thread-topic: How do we add more memory ops?
Hi,
 
    /*
     * To allow safe resume of do_memory_op() after preemption, we need to know
     * at what point in the page list to resume. For this purpose I steal the
     * high-order bits of the @cmd parameter, which are otherwise unused and zero.
     */
    #define MEMOP_EXTENT_SHIFT 4 /* cmd[:4] == start_extent */
    #define MEMOP_CMD_MASK     ((1 << MEMOP_EXTENT_SHIFT) - 1)
 
Why not using another hypercall argument for this?
Before I'm making any changes.. are there any limitations?
 
Thanks,
Guy.
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] How do we add more memory ops?, Guy Zana <=