diff options
author | Tobias Klauser <tklauser@distanz.ch> | 2022-08-17 22:21:23 +0200 |
---|---|---|
committer | Gopher Robot <gobot@golang.org> | 2022-08-18 05:32:36 +0000 |
commit | a2c2f06cad8aa722120cb73e965d168bfcb4d977 (patch) | |
tree | 53d4062a099541403d49f6188eeda0d954bd83ad /src/cmd/compile/internal/devirtualize/devirtualize.go | |
parent | b15c399a36a38509ae56dd69670974566f7b0d52 (diff) | |
download | go-git-a2c2f06cad8aa722120cb73e965d168bfcb4d977.tar.gz |
internal/poll: remove detection of buggy splice on old Linux versions
The splice syscall is buggy prior to Linux 2.6.29. CL 113999 added a
workaround to detect buggy versions and disable use of splice for these.
As of Go 1.18 the minumum Linux version is 2.6.32. Thus, a non-buggy
implementation of the splice syscall can be assumed.
For #45964
Fixes #54505
Change-Id: Ied3a3334da7a3f7fa1280b7c5b1dfb9030219336
Reviewed-on: https://go-review.googlesource.com/c/go/+/422979
Reviewed-by: Ian Lance Taylor <iant@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Auto-Submit: Tobias Klauser <tobias.klauser@gmail.com>
Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Diffstat (limited to 'src/cmd/compile/internal/devirtualize/devirtualize.go')
0 files changed, 0 insertions, 0 deletions