Skip to content

Round up mapping length in mprotect#3

Open
jirvoz wants to merge 2 commits intoredhat-performance:0.4.1-rhfrom
jirvoz:0.4.1-rh
Open

Round up mapping length in mprotect#3
jirvoz wants to merge 2 commits intoredhat-performance:0.4.1-rhfrom
jirvoz:0.4.1-rh

Conversation

@jirvoz
Copy link
Copy Markdown

@jirvoz jirvoz commented Jun 10, 2020

In mprotect benchmark added rounding of mapping-length parameter to nearest bigger multiple of pagesize to prevent improper call of mprotect and possible crash.
This issue lead to segfault of benchmark on ppc64le architecture with cpu-partitioning tuned profile.

@jirvoz jirvoz changed the title 0.4.1 rh Round up mapping length in mprotect Jun 10, 2020
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.

1 participant