Re: clean up and streamline probe_kernel_* and friends v4

From: Linus Torvalds
Date: Thu May 21 2020 - 14:04:09 EST


On Thu, May 21, 2020 at 8:23 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.

I could not see anything to object to in this version. So Ack from me,
but obviously I'm hoping others will try to read it through as well.

Linus