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

2015-04-16 Thread Chris Wilson
On Thu, Apr 16, 2015 at 09:28:02AM +0200, Ingo Molnar wrote: > > * Chris Wilson 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

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

2015-04-16 Thread Ingo Molnar
* Chris Wilson 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()

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

2015-04-16 Thread Ingo Molnar
* Chris Wilson ch...@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

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

2015-04-16 Thread Chris Wilson
On Thu, Apr 16, 2015 at 09:28:02AM +0200, Ingo Molnar wrote: * Chris Wilson ch...@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

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

2015-04-15 Thread Chris Wilson
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 Cc:

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

2015-04-15 Thread Chris Wilson
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