diff options
| author | NARUSE, Yui <nurse@users.noreply.github.com> | 2024-02-04 00:47:32 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-02-03 15:47:32 +0000 |
| commit | 53d4e9c4bbba077a569549a01a8263e5e8f59ee8 (patch) | |
| tree | dec9792296801fd928b40be383e570956389c100 /test/ruby | |
| parent | 45064610725ddd81a5ea3775da35aa46985bc789 (diff) | |
merge revision(s) 1bd98c820da46a05328d2d53b8f748f28e7ee8f7: [Backport #20172] (#9798)
Remove setaffinity of pthread for getaddrinfo
It looks like `sched_getcpu(3)` returns a strange number on some
(virtual?) environments.
I decided to remove the setaffinity mechanism because the performance
does not appear to degrade on a quick benchmark even if removed.
[Bug #20172]
---
ext/socket/extconf.rb | 2 --
ext/socket/raddrinfo.c | 48 ++++--------------------------------------------
2 files changed, 4 insertions(+), 46 deletions(-)
Diffstat (limited to 'test/ruby')
0 files changed, 0 insertions, 0 deletions
