Skip to content
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

Drop GODEBUG='madvdontneed=1' setting with Go 1.16 #15076

Merged
merged 1 commit into from
Feb 24, 2021

Conversation

tklauser
Copy link
Member

Go 1.16 switched back to madvdontneed=1 by default, see
https://golang.org/doc/go1.16#runtime. Thus we no longer need to set
this explicitly at runtime after switching to Go 1.16 in commit
0cf2cff ("Update Go to 1.16")

This reverts the GODEBUG setting introduced by commit 83cb610
("Makefile: build Cilium with madvdontneed=1")

@tklauser tklauser added the release-note/misc This PR makes changes that have no direct user impact. label Feb 23, 2021
@tklauser tklauser requested a review from aanm February 23, 2021 15:13
@tklauser tklauser requested review from a team as code owners February 23, 2021 15:13
@maintainer-s-little-helper maintainer-s-little-helper bot added this to In progress in 1.10.0 Feb 23, 2021
Go 1.16 switched back to madvdontneed=1 by default, see
https://golang.org/doc/go1.16#runtime. Thus we no longer need to set
this explicitly at runtime after switching to Go 1.16.

This reverts the GODEBUG setting introduced by commit 83cb610
("Makefile: build Cilium with madvdontneed=1")

Fixes: 0cf2cff ("Update Go to 1.16")
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
@tklauser tklauser force-pushed the pr/tklauser/drop-madvdontneed branch from 2473d91 to 3af1658 Compare February 23, 2021 15:13
@tklauser
Copy link
Member Author

test-me-please

@aanm aanm removed their assignment Feb 23, 2021
@christarazi christarazi merged commit e8dcf24 into cilium:master Feb 24, 2021
1.10.0 automation moved this from In progress to Done Feb 24, 2021
@tklauser tklauser deleted the pr/tklauser/drop-madvdontneed branch March 4, 2021 10:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release-note/misc This PR makes changes that have no direct user impact.
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

None yet

3 participants