xserver/miext
Keith Packard b6d7ed4d78 miext: Move SyncShm FDs out of the way of clients
Applications may end up allocating a bunch of shmfence objects, each
of which uses a file descriptor, which must be kept open lest some
other client ask for a copy of it later on.

Lacking an API that can turn a memory mapping back into a file
descriptor, about the best we can do is push the file descriptors out
of the way of other X clients so that we don't run out of the ability
to accept new connections.

This uses fcntl F_GETFD to push the FD up above MAXCLIENTS.

Signed-off-by: Keith Packard <keithp@keithp.com>
Reviewed-by: Julien Cristau <jcristau@debian.org>
2013-12-02 12:57:08 -08:00
..
damage miext/damage: Partial revert of "Only wrap into the GC ops chain if there's a listener (v3)" 2013-10-31 18:16:11 -07:00
rootless rootless: Use miCopyRegion instead of fbCopyRegion 2013-10-06 09:18:15 -07:00
shadow miext/shadow: missing c2p_core.h breaks "make distcheck" target. 2013-10-04 13:56:01 -07:00
sync miext: Move SyncShm FDs out of the way of clients 2013-12-02 12:57:08 -08:00
Makefile.am cw: Remove 2012-07-25 14:02:44 -07:00