internal/poll: can update newPipe to take advantage of newer Linux kernel requirement #54505
Labels
compiler/runtime
Issues related to the Go compiler and/or runtime.
FrozenDueToAge
NeedsFix
The path to resolution is known, but the work has not been done.
Milestone
newPipe
currently contains this comment:(src/internal/poll/splice_linux.go#220-223)
It was added in 2018 to fix #25486.
As of proposal #45964, the minimum kernel that needs to be supported is 2.6.32, so there may be an opportunity to take advantage of that. If there's nothing to do differently, the comment can be deleted since pipe2 will now always be available and there's no need to explain why to avoid fallback to pipe.
CC @ianlancetaylor, @bradfitz, @tklauser.
The text was updated successfully, but these errors were encountered: