Re: [PATCH v3 3/3] powerpc/uaccess: simplify the get_fs() set_fs() logic

2020-08-06 Thread Christophe Leroy
Le 06/08/2020 à 11:17, Christoph Hellwig a écrit : Do you urgently need this? My plan for 5.10 is to rebased and submit the remaining bits of this branch: http://git.infradead.org/users/hch/misc.git/shortlog/refs/heads/set_fs-removal which will kill off set_fs/get_fs entirely. No t

Re: [PATCH v3 3/3] powerpc/uaccess: simplify the get_fs() set_fs() logic

2020-08-06 Thread Christoph Hellwig
Do you urgently need this? My plan for 5.10 is to rebased and submit the remaining bits of this branch: http://git.infradead.org/users/hch/misc.git/shortlog/refs/heads/set_fs-removal which will kill off set_fs/get_fs entirely.

[PATCH v3 3/3] powerpc/uaccess: simplify the get_fs() set_fs() logic

2020-08-06 Thread Christophe Leroy
On powerpc, we only have USER_DS and KERNEL_DS Today, this is managed as an 'unsigned long' data space limit which is used to compare the passed address with, plus a bit in the thread_info flags that is set whenever modifying the limit to enable the verification in addr_limit_user_check() The lim