Re: [PATCH V4 1/2] arm64: copy_to-from-in_user optimization using copy template

2015-09-07 Thread Catalin Marinas
On Fri, Aug 21, 2015 at 03:01:33PM -0700, Feng Kan wrote: > diff --git a/arch/arm64/lib/copy_from_user.S b/arch/arm64/lib/copy_from_user.S > index 1be9ef2..cb085cf 100644 > --- a/arch/arm64/lib/copy_from_user.S > +++ b/arch/arm64/lib/copy_from_user.S > @@ -18,6 +18,7 @@ > > #include >

Re: [PATCH V4 1/2] arm64: copy_to-from-in_user optimization using copy template

2015-09-07 Thread Catalin Marinas
On Fri, Aug 21, 2015 at 03:01:33PM -0700, Feng Kan wrote: > diff --git a/arch/arm64/lib/copy_from_user.S b/arch/arm64/lib/copy_from_user.S > index 1be9ef2..cb085cf 100644 > --- a/arch/arm64/lib/copy_from_user.S > +++ b/arch/arm64/lib/copy_from_user.S > @@ -18,6 +18,7 @@ > > #include >

[PATCH V4 1/2] arm64: copy_to-from-in_user optimization using copy template

2015-08-21 Thread Feng Kan
This patch optimize copy_to-from-in_user for arm 64bit architecture. The copy template is using the memcpy.S as a base. This allows the sharing of the copy template with all of the copy*.S files. Signed-off-by: Feng Kan Signed-off-by: Balamurugan Shanmugam --- arch/arm64/lib/copy_from_user.S |

[PATCH V4 1/2] arm64: copy_to-from-in_user optimization using copy template

2015-08-21 Thread Feng Kan
This patch optimize copy_to-from-in_user for arm 64bit architecture. The copy template is using the memcpy.S as a base. This allows the sharing of the copy template with all of the copy*.S files. Signed-off-by: Feng Kan f...@apm.com Signed-off-by: Balamurugan Shanmugam bshanmu...@apm.com ---