Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion bench.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@

DIRNAME=$(dirname $0)

bench_version=0.4.1-rh.31
bench_version=0.4.1-rh.32
libmicro_version=`$DIRNAME/bin/tattle -V`

case $libmicro_version in
Expand Down
2 changes: 1 addition & 1 deletion libmicro.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@

#include <pthread.h>

#define LIBMICRO_VERSION "0.4.1-rh.31"
#define LIBMICRO_VERSION "0.4.1-rh.32"

#define STRSIZE 1024

Expand Down
3 changes: 3 additions & 0 deletions mprotect.c
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,9 @@ benchmark_initrun(void)
int flags;
int i;

// Round mapping length up to first higher multiple of page size
optl = (optl + pagesize - 1) / pagesize * pagesize;

if (!anon) {
fd = open(optf, O_RDWR);
if (fd < 0) {
Expand Down
2 changes: 1 addition & 1 deletion suites/verify_names.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python2

#
# Copyright 2012 Red Hat, Inc.
Expand Down