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

Richard Purdie richard.purdie at linuxfoundation.org
Wed Aug 15 09:27:29 UTC 2018


On Wed, 2018-08-15 at 08:59 +0200, Rasmus Villemoes wrote:
> 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.

Pseudo maintenance is a little tricky right now and I'd guess Peter is
unavailable. Would you be able to format these as additional patches to
the pseudo recipe? That way we could test and include them in builds
and then Peter will review them when he has time.

Cheers,

Richard



More information about the Openembedded-core mailing list