[Top] [All Lists]

Re: copy_from_user_page/copy_to_user_page fix

To: Atsushi Nemoto <>
Subject: Re: copy_from_user_page/copy_to_user_page fix
From: Ralf Baechle <>
Date: Wed, 9 Feb 2005 19:10:44 +0100
In-reply-to: <>
Original-recipient: rfc822;
References: <> <> <>
User-agent: Mutt/1.4.1i
On Wed, Feb 09, 2005 at 10:52:56PM +0900, Atsushi Nemoto wrote:

> ralf> I'm going to apply this because it's a correct fix; the
> ralf> temporary mapping strategy as we've discussed for the dup_mmap
> ralf> problem would be preferable.
> Thank you.  I agree that the temporary mapping will be more efficient
> though I chose a simple fix.  I suppose a performance requirement for
> ptrace() would be less than the dup_mmap (fork()).

People have come up with creative abuses for ptrace which actually make
it a performance critical path.  Especially UML should be mentioned in
this cathegory.  And we're talkign about a few thousand cycles differences
per ptrace invocation.


<Prev in Thread] Current Thread [Next in Thread>