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-ppc-devel

Re: [XenPPC] copy_page speedup using dcbz on target

> So do you have a patch for copy_page()?

In Xen for PPC, the only copy_page() is in arch/powerpc/mm.c:

extern void copy_page(void *dp, void *sp)
{
    if (on_systemsim()) {
        systemsim_memcpy(dp, sp, PAGE_SIZE);
    } else {
        memcpy(dp, sp, PAGE_SIZE);
    }
}


1) Also copy_page is not referenced in current Xen sources?

2) dcbz depends on cacheability and cache alignment.
   Should a newname be given to this version of copy_page()?

3) Useful when PPC must do page copies in place of 'page flipping'.

_______________________________________________
Xen-ppc-devel mailing list
Xen-ppc-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ppc-devel