raindrops RubyGem user+dev discussion/patches/pulls/bugs/help
 help / color / mirror / code / Atom feed
* [PATCH 0/4] minor modernizations and cleanups
@ 2023-06-11 21:33 Eric Wong
  2023-06-11 21:33 ` [PATCH 1/4] avoid unnecessary #to_io calls Eric Wong
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Eric Wong @ 2023-06-11 21:33 UTC (permalink / raw)
  To: raindrops-public

alloca use was dangerous for architectures with >4K pages,
and we can avoid some Ruby #to_io dispatches in some places.

Eric Wong (4):
  avoid unnecessary #to_io calls
  my_fileno: use rb_io_check_closed for Ruby <3.1
  linux_inet_diag: get rid of alloca usage
  test_linux_reuseport_tcp_listen_stats: skip w/o unicorn

 ext/raindrops/linux_inet_diag.c               | 23 +++++++++++--------
 ext/raindrops/my_fileno.h                     | 16 ++++---------
 ext/raindrops/tcp_info.c                      |  2 +-
 test/test_linux_reuseport_tcp_listen_stats.rb |  2 +-
 4 files changed, 20 insertions(+), 23 deletions(-)

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2023-06-11 21:33 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-06-11 21:33 [PATCH 0/4] minor modernizations and cleanups Eric Wong
2023-06-11 21:33 ` [PATCH 1/4] avoid unnecessary #to_io calls Eric Wong
2023-06-11 21:33 ` [PATCH 2/4] my_fileno: use rb_io_check_closed for Ruby <3.1 Eric Wong
2023-06-11 21:33 ` [PATCH 3/4] linux_inet_diag: get rid of alloca usage Eric Wong
2023-06-11 21:33 ` [PATCH 4/4] test_linux_reuseport_tcp_listen_stats: skip w/o unicorn Eric Wong

Code repositories for project(s) associated with this public inbox

	https://yhbt.net/raindrops.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).