Re: clean up and streamline probe_kernel_* and friends v2

From: Linus Torvalds
Date: Wed May 13 2020 - 15:37:36 EST


On Wed, May 13, 2020 at 9:00 AM Christoph Hellwig <hch@xxxxxx> wrote:
>
> this series start cleaning up the safe kernel and user memory probing
> helpers in mm/maccess.c, and then allows architectures to implement
> the kernel probing without overriding the address space limit and
> temporarily allowing access to user memory. It then switches x86
> over to this new mechanism by reusing the unsafe_* uaccess logic.

Ok, I think I found a bug, and I had one more suggestion, but other
than the two emails I sent this all looks like an improvement to me.

Linus