[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • To: <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • From: "Guy Zana" <guy@xxxxxxxxxxxx>
  • Date: Tue, 8 May 2007 06:13:55 -0400
  • Delivery-date: Tue, 08 May 2007 03:15:50 -0700
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • 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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.