[Top][All Lists]

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

Re: memory_object_lock_request and memory_object_data_return fnord

From: Neal H Walfield
Subject: Re: memory_object_lock_request and memory_object_data_return fnord
Date: 23 Mar 2002 22:55:56 -0500
User-agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/21.1

> > 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?

reply via email to

[Prev in Thread] Current Thread [Next in Thread]