qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH v2 000/108] linux-user: Split do_syscall


From: Richard Henderson
Subject: Re: [Qemu-devel] [PATCH v2 000/108] linux-user: Split do_syscall
Date: Sun, 10 Jun 2018 08:51:54 -1000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0

On 06/10/2018 02:34 AM, Peter Maydell wrote:
> It's still a stupidly large source file -- is it worth taking
> advantage of the split into multiple implementation functions
> to break it up into multiple source files? (We could group
> related syscalls together.)

It's possible.  Any suggestions for groupings?  I can think of files,
networking, memory (mmap &c), signals, session (getuid &c), ipc.

I've also wondered about cutting down on ifdef boilerplate.  There's nothing
more that I can do about it within the C preprocessor.

I'd have to wire up something else via the makefiles, but haven't thought about
what form that should take.  Likely it ought to be something that can be
massaged into both syscall dispatch and strace tables.


r~



reply via email to

[Prev in Thread] Current Thread [Next in Thread]