[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v2 0/5] support fiddle for Linux-only syscalls
From: |
Eric Wong |
Subject: |
[PATCH v2 0/5] support fiddle for Linux-only syscalls |
Date: |
Fri, 20 Dec 2019 01:39:12 +0000 |
fiddle can be used as an alternative to sleepy_penguin, since
sleepy_penguin requires development headers and a compiler to
install, and fiddle is bundled as part of Ruby. sleepy_penguin
can still be faster, though, so we continue supporting
sleepy_penguin.
Eric Wong (5):
pipe: avoid loading sleepy_penguin
provide fiddle-based eventfd implementation
buffer: replace sleepy_penguin with fiddle
watchable: use fiddle for inotify support
doc: remove most recommendations for sleepy_penguin
Documentation/dtas-sinkedit.pod | 2 +-
Documentation/dtas-sourceedit.pod | 2 +-
INSTALL | 16 +--
lib/dtas.rb | 8 ++
lib/dtas/buffer.rb | 15 ++-
lib/dtas/buffer/fiddle_splice.rb | 216 ++++++++++++++++++++++++++++++
lib/dtas/buffer/read_write.rb | 4 +-
lib/dtas/buffer/splice.rb | 2 +
lib/dtas/pipe.rb | 20 +--
lib/dtas/sigevent.rb | 7 +-
lib/dtas/sigevent/efd.rb | 2 +
lib/dtas/sigevent/fiddle_efd.rb | 38 ++++++
lib/dtas/sigevent/pipe.rb | 2 +-
lib/dtas/watchable.rb | 115 ++++++++--------
lib/dtas/watchable/fiddle_ino.rb | 78 +++++++++++
lib/dtas/watchable/inotify.rb | 13 ++
test/test_buffer.rb | 10 +-
test/test_sigevent.rb | 20 +++
test/test_sink_pipe_size.rb | 27 ++--
19 files changed, 486 insertions(+), 111 deletions(-)
create mode 100644 lib/dtas/buffer/fiddle_splice.rb
create mode 100644 lib/dtas/sigevent/fiddle_efd.rb
create mode 100644 lib/dtas/watchable/fiddle_ino.rb
create mode 100644 lib/dtas/watchable/inotify.rb
create mode 100644 test/test_sigevent.rb
- [PATCH v2 0/5] support fiddle for Linux-only syscalls,
Eric Wong <=
- [PATCH v2 1/5] pipe: avoid loading sleepy_penguin, Eric Wong, 2019/12/19
- [PATCH v2 2/5] provide fiddle-based eventfd implementation, Eric Wong, 2019/12/19
- [PATCH v2 3/5] buffer: replace sleepy_penguin with fiddle, Eric Wong, 2019/12/19
- [PATCH v2 4/5] watchable: use fiddle for inotify support, Eric Wong, 2019/12/19
- [PATCH v2 5/5] doc: remove most recommendations for sleepy_penguin, Eric Wong, 2019/12/19