Re: [PATCH 5/9] fs: remove various compat readv/writev helpers

From
Arnd Bergmann <arnd@arndb.de>
Date
2020-09-23 19:53:17
Also in
io-uring, keyrings, linux-arch, linux-arm-kernel, linux-fsdevel, linux-mips, linux-mm, linux-s390, linux-scsi, linux-security-module, linuxppc-dev, lkml, netdev, sparclinux
Reply to
Al Viro, 2020-09-23
On Wed, Sep 23, 2020 at 9:48 PM Al Viro [off-list ref] wrote:
FWIW, after playing with that for a while...  Do we really want the
compat_sys_...() declarations to live in linux/compat.h?  Most of
the users of that file don't want those; why not move them to
linux/syscalls.h?
Sure, let's do that. The trend overall is to integrate the compat stuff
more closely into where the native implementation lives, so this
would just follow that trend.

I think with Christoph's latest patches, about half of them are
going away as well.
Reason: there's a lot more users of linux/compat.h than those of
linux/syscalls.h - it's pulled by everything in the networking stack,
for starters...
Right, the network headers pull in almost everything else through
multiple indirect inclusions, anything we can do to reduce that
helps.

     Arnd
Thread (25 messages) 25 messages, 5 authors, last reply 2020-09-23
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help