Re: io_uring vs in_compat_syscall()
From: Christoph Hellwig <hch@lst.de>
Date: 2020-07-21 14:34:17
Also in:
io-uring, linux-arch, lkml
From: Christoph Hellwig <hch@lst.de>
Date: 2020-07-21 14:34:17
Also in:
io-uring, linux-arch, lkml
On Tue, Jul 21, 2020 at 07:31:02AM -0700, Andy Lutomirski wrote:
quoted
What do you mean with "properly wired up". Do you really want to spread ->compat_foo methods everywhere, including read and write? I found in_compat_syscall() a lot small and easier to maintain than all the separate compat cruft.I was imagining using a flag. Some of the net code uses MSG_CMSG_COMPAT for this purpose.
Killing that nightmarish monster is what actually got me into looking io_uring and starting this thread.