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

- From: Arnd Bergmann \<arnd@arndb.de\>
- Date: 2020-09-23 19:53:17 
- List: linux-security-module
- Page: https://ratatoskr.run/linux-security-module/2020/09/189495
- Thread: https://ratatoskr.run/linux-arm-kernel/2020/09/189423/t.md

```text
On Wed, Sep 23, 2020 at 9:48 PM Al Viro [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
```
