Skip to content

Changelog entry for Go MADV; doc cleanup#1178

Merged
bwplotka merged 1 commit intomasterfrom
fixes
May 30, 2019
Merged

Changelog entry for Go MADV; doc cleanup#1178
bwplotka merged 1 commit intomasterfrom
fixes

Conversation

@bwplotka
Copy link
Member

Signed-off-by: Bartek Plotka bwplotka@gmail.com

@bwplotka bwplotka requested a review from GiedriusS May 27, 2019 16:40
CHANGELOG.md Outdated

> On Linux, the runtime now uses MADV_FREE to release unused memory. This is more efficient but may result in higher reported RSS. The kernel will reclaim the unused data when it is needed. To revert to the Go 1.11 behavior (MADV_DONTNEED), set the environment variable GODEBUG=madvdontneed=1.

To ensure correct memory reporting:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it really incorrect with those changes? Maybe precise would fit here more

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

true

@bwplotka
Copy link
Member Author

PTAL @GiedriusS and thanks for review

TSDBMinTime: model.Duration(2 * time.Hour),
TSDBMaxTime: model.Duration(2 * time.Hour),
}
var (
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think this code change should be part of this PR, or am I missing smth?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is intentionally there, but can split if needed

@povilasv
Copy link
Member

Also We've been using Go 1.12 for awhile now, not in this release #868

This release changes to 1.12.5, please change the text to note that and add link to #1156

Signed-off-by: Bartek Plotka <bwplotka@gmail.com>
@bwplotka bwplotka changed the title Clenup: Changelog entry for Go MADV; doc cleanup; tutorial blockgen has own dockerfile. Changelog entry for Go MADV; doc cleanup May 30, 2019
@bwplotka
Copy link
Member Author

I simplified PR with just doc and CHANGELOG change.

@povilasv please read carefully.

Also We've been using Go 1.12 for awhile now, not in this release #868

Yes that's why I updated 0.4.0 release.

This release changes to 1.12.5, please change the text to note that and add link to #1156

It's already there for newest unlreleased.

@povilasv
Copy link
Member

👍

@bwplotka bwplotka merged commit f0b94e0 into master May 30, 2019
@bwplotka bwplotka deleted the fixes branch May 30, 2019 14:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants