From: Chris Wilson Date: Wed, 15 Apr 2015 09:51:26 +0000 (+0100) Subject: x86/asm: Enable fast 32-bit put_user_64() for copy_to_user() X-Git-Tag: omap-for-v4.2/fixes-rc1^2~170^2~29^2~21 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6a907738ab9840ca3d71c22cd28fba4cbae7f7ce;p=pandora-kernel.git x86/asm: Enable fast 32-bit put_user_64() for copy_to_user() For fixed sized copies, copy_to_user() will utilize __put_user_size() fastpaths. However, it is missing the translation for 64-bit 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. Signed-off-by: Chris Wilson Cc: Borislav Petkov Cc: H. Peter Anvin Cc: Linus Torvalds Cc: Thomas Gleixner Cc: intel-gfx@lists.freedesktop.org Link: http://lkml.kernel.org/r/1429091486-11443-1-git-send-email-chris@chris-wilson.co.uk Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed