Re: [PATCH] x86/copy_user: Remove 64-bit asm _copy_*_user variants

From: Linus Torvalds
Date: Tue Nov 01 2016 - 19:03:29 EST


On Mon, Oct 31, 2016 at 9:10 AM, Borislav Petkov <bp@xxxxxxxxx> wrote:
> From: Borislav Petkov <bp@xxxxxxx>
>
> We already have the same functionality in usercopy_32.c. Share it with
> 64-bit and get rid of some more asm glue which is not needed anymore.

I see this already made it into -tip, but it looks good to me. I think
Al may have some of this in generic code already in his uaccess
cleanup stuff, but I doubt this makes for any huge merge conflict
issues.

Linus