Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Nov 2016 21:48:01 -0800
From:      David Shao <davshao@gmail.com>
To:        freebsd-x11@freebsd.org
Subject:   Need ideas for updating devd.c patch for xserver 1.19
Message-ID:  <CABZaEK6=sTkOaX1LzOiYNgiuZNDsPrZF7GzSO3SvzOr2wB04zA@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
xserver 1.19 switched from select(2) to epoll / poll.  One can read
the thread for
example starting from here:

https://lists.freedesktop.org/archives/xorg-devel/2016-May/049874.html

I have experimented with updating the xserver patch adding devd.c to
use SetNotifyFd and RemoveNotifyFd and eliminate the use of fd_set since
it is no longer part of the API, but the server no longer starts up.

I don't even know where to begin.  Is it for example possible that for
FreeBSD and DragonFly at least a third kqueue option should have been
added to the epoll versus poll choice in xserver 1.19's new ospoll.c?
Should poll as used by xserver 1.19 work for Unix domain sockets?



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CABZaEK6=sTkOaX1LzOiYNgiuZNDsPrZF7GzSO3SvzOr2wB04zA>