> > I think that that optimization could be easily integrated into
> > pager_memcpy.
> 
> There was once a theory that memcpy would use vm_copy for large
> page-aligned copies.  There is in fact code for this in libc, but I think
> it doesn't get used because it's only the generic code and there are
> optimized x86 versions that don't do any page-alignment checks.  Certainly
> if memcpy gets inlined it doesn't happen.

I think it would be worth making it happen: then, there would be no
need to change paper_memcpy.  Are there any caveats? Especially with
respect to how to restructure libc/sysdeps/i386/{,i[456]86}/memcpy.S?

_______________________________________________
Bug-hurd mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-hurd

Reply via email to