-
Notifications
You must be signed in to change notification settings - Fork 17.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
runtime: drop NetBSD kernel bug sysmon workaround fixed in NetBSD 9.2 #46495
Comments
I agree we should find a support policy that automatically drops support for old NetBSD releases when new ones are made, similar to how OpenBSD has one. CC @golang/release. |
Another option to already disable the workaround for NetBSD 9.2 while still retaining compatibility with older NetBSD versions would be to check I've sent https://golang.org/cl/324472 implementing that. |
Change https://golang.org/cl/324472 mentions this issue: |
Detect the NetBSD version in osinit and only enable the workaround for the kernel bug identified in #42515 for NetBSD versions older than 9.2. For #42515 For #46495 Change-Id: I808846c7f8e47e5f7cc0a2f869246f4bd90d8e22 Reviewed-on: https://go-review.googlesource.com/c/go/+/324472 Trust: Tobias Klauser <tobias.klauser@gmail.com> Trust: Benny Siegert <bsiegert@gmail.com> Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com> Reviewed-by: Michael Pratt <mpratt@google.com> Reviewed-by: Ian Lance Taylor <iant@golang.org> TryBot-Result: Go Bot <gobot@golang.org>
The CL you sent does os version checking in CC @tklauser |
Yes, |
Got it. Thanks for your explanation. |
#42515 identified a NetBSD kernel bug (kern/50094) affecting the Go runtime. http://golang.org/cl/277332 introduced a (rather subpar) workaround for this issue.
@jdolecek-zz notes that the fix for this bug is included in NetBSD 9.2, making the workaround unnecessary.
Ideally we just drop http://golang.org/cl/277332, but this depends on our support policy for NetBSD. https://github.com/golang/go/wiki/NetBSD states that we currently support NetBSD 7+, but not what the official policy is. (OTOH, e.g., OpenBSD is explicitly supported only for the two most recent releases: https://github.com/golang/go/wiki/OpenBSD#longterm-support).
Based on my reading of https://www.netbsd.org/releases/formal.html, my interpretation would be that Go should support NetBSD 8 and 9 (and presumably drop 8 when 10 is released?). Do others agree? If so, we should probably add a version check to the workaround and keep it until NetBSD 9 is dropped.
cc @bsiegert @dmitshur @mknyszek
The text was updated successfully, but these errors were encountered: