[OE-core] [pseudo] [RFC 1/2] pseudo_ipc.c: Use MSG_NOSIGNAL if available

Rasmus Villemoes rasmus.villemoes at prevas.dk
Wed Aug 15 06:59:02 UTC 2018


On 2018-07-11 16:30, Rasmus Villemoes wrote:
> MSG_NOSIGNAL has been in Linux since 2.2, and has been standardized in
> POSIX 2008. Using that when available avoids the overhead of the two
> syscalls to set and restore the SIGPIPE handler. Moreover, we can
> eliminate one write() call by making use of sendmsg() to do
> scatter-gather I/O.

Ping. The README in the pseudo repo says to use the openembedded-core
list for pseudo patches, so I assume this is the right place. I have
other ideas for improving pseudo's performance on both client and server
side, but there's no point sending patches to /dev/null.

Rasmus


More information about the Openembedded-core mailing list