[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20210330175417.GC15145@lst.de>
Date: Tue, 30 Mar 2021 19:54:17 +0200
From: Christoph Hellwig <hch@....de>
To: Thomas Bogendoerfer <tsbogend@...ha.franken.de>
Cc: linux-mips@...r.kernel.org, linux-kernel@...r.kernel.org,
hch@....de
Subject: Re: [PATCH 3/3] MIPS: Remove get_fs/set_fs
> - if (likely(access_ok( __gu_ptr, size))) { \
> - if (eva_kernel_access()) \
> - __get_kernel_common((x), size, __gu_ptr); \
FYI, it might be a good idea to fold __{get,put}_kernel_common into
__{get,put}_kernel_nofault now that these are the only callers left.
Similarly __get_user_common and __put_user_common should probably also
go away.
> static inline unsigned long
> raw_copy_to_user(void __user *to, const void *from, unsigned long n)
> {
> + return __invoke_copy_to_user(to, from, n);
I think __invoke_copy_to_user, __invoke_copy_from_user and
___invoke_copy_in_user can go away now as well.
Powered by blists - more mailing lists