[Intel-gfx] [PATCH] x86: Enable fast 32-bit put_user_64 for copy_to_user

Chris Wilson chris at chris-wilson.co.uk
Thu Apr 16 00:40:48 PDT 2015


On Thu, Apr 16, 2015 at 09:28:02AM +0200, Ingo Molnar wrote:
> 
> * Chris Wilson <chris at chris-wilson.co.uk> wrote:
> 
> > For fixed sized copies, copy_to_user() will utilize __put_user_size
> > fastpaths. However, it is missing the translation for 64bit copies on
> > x86/32. Testing on a Pinetrail Atom, the 64 bit put_user fastpath is
> > substantially faster than the generic copy_to_user() fallback.
> > 
> > Cc: Thomas Gleixner <tglx at linutronix.de>
> > Cc: Ingo Molnar <mingo at redhat.com>
> > Cc: "H. Peter Anvin" <hpa at zytor.com>
> > Cc: x86 at kernel.org
> > CC: linux-kernel at vger.kernel.org
> 
> The patch makes sense, but your Signed-off-by line is missing.

Sorry, totally forgot that when rewriting the changelog.
Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre


More information about the Intel-gfx mailing list