[ruby-core:88563] [Ruby trunk Misc#15011] [PATCH] thread_pthread.c: use eventfd instead of pipe on Linux

From: normalperson@...
Date: 2018-08-20 06:17:01 UTC
List: ruby-core #88563
Issue #15011 has been reported by normalperson (Eric Wong).

----------------------------------------
Misc #15011: [PATCH] thread_pthread.c: use eventfd instead of pipe on Linux
https://bugs.ruby-lang.org/issues/15011

* Author: normalperson (Eric Wong)
* Status: Open
* Priority: Normal
* Assignee: 
----------------------------------------
thread_pthread.c: use eventfd instead of pipe on Linux

Based on r64478, any regular user creating more than 1024 pipes
on Linux will end up with tiny pipes with only a single page
capacity.  So avoid wasting user resources and use lighter
eventfd on Linux.

Pretty trivial this time around.  Will commit in a few days.


---Files--------------------------------
0001-thread_pthread.c-use-eventfd-instead-of-pipe-on-Linu.patch (4.97 KB)


-- 
https://bugs.ruby-lang.org/

Unsubscribe: <mailto:[email protected]?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>

In This Thread

Prev Next