gvisor/pkg/ilist
Jamie Liu 5e6fc2f225 Don't hold EpollInstance.mu while calling FileDescription.Readiness().
EpollInstance.mu is also renamed to readyMu to more accurately reflect its
purpose.

The same fix is also applied to VFS1's epoll implementation.

This is more consistent with Linux, although Linux has additional complexity to
support concurrent queueing of readied FDs in its equivalent of
epollInterest.NotifyEvent() (fs/eventpoll.c:ep_poll_callback()). Compare:
- VFS2 EpollInstance.Readiness() and Linux __ep_eventpoll_poll() =>
  ep_start/done_scan()
- VFS2 EpollInstance.ReadEvents() and Linux ep_poll() => ep_send_events() =>
  ep_start/done_scan()

PiperOrigin-RevId: 432488493
2022-03-04 11:07:37 -08:00
..
BUILD Standardize on tools directory. 2020-01-27 12:21:00 -08:00
list.go Don't hold EpollInstance.mu while calling FileDescription.Readiness(). 2022-03-04 11:07:37 -08:00
list_test.go Change copyright notice to "The gVisor Authors" 2019-04-29 14:26:23 -07:00