Files
xserver/include
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
..
2012-03-21 13:54:42 -07:00
2012-03-21 13:54:42 -07:00
2012-03-21 13:54:42 -07:00
2012-03-21 13:54:42 -07:00
2013-05-15 19:17:57 +10:00
2013-09-10 13:28:24 -04:00
2012-11-19 12:12:23 +10:00
2012-11-21 11:13:55 +11:00
2013-10-31 16:59:18 -07:00
2012-03-21 13:54:42 -07:00
2012-03-21 13:54:42 -07:00
2013-09-10 13:28:24 -04:00
2012-05-01 11:36:30 +10:00
2012-03-21 13:54:42 -07:00
2012-03-21 13:54:42 -07:00
2013-10-31 16:58:16 -07:00
2012-03-21 13:54:42 -07:00
2013-11-06 16:41:49 -08:00
2012-03-21 13:54:42 -07:00
2012-03-21 13:54:42 -07:00
2012-03-21 13:54:42 -07:00
2012-03-21 13:54:42 -07:00
2012-09-20 14:40:18 -04:00
2012-03-21 13:54:42 -07:00
2012-03-21 13:54:42 -07:00
2012-03-21 13:54:42 -07:00
2012-03-21 13:54:42 -07:00