clean up address limit helpers

Linus Torvalds torvalds at
Fri Jul 10 11:25:35 EDT 2020

On Fri, Jul 10, 2020 at 6:57 AM Christoph Hellwig <hch at> wrote:
> in preparation for eventually phasing out direct use of set_fs(), this
> series removes the segment_eq() arch helper that is only used to
> implement or duplicate the uaccess_kernel() API, and then adds
> descriptive helpers to force the kernel address limit.

Ack. All the patches looked like no-ops to me, but with better naming
and clarity.


More information about the linux-riscv mailing list