Skip to content

Commit

Permalink
benchtests: Fixed bench-memcpy-random: buf1: mprotect failed
Browse files Browse the repository at this point in the history
  • Loading branch information
NaohiroTamura committed Apr 13, 2021
1 parent d777df2 commit ec0b55a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions benchtests/bench-memcpy-random.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
License along with the GNU C Library; if not, see
<https://www.gnu.org/licenses/>. */

#define MIN_PAGE_SIZE (512*1024+4096)
#define MIN_PAGE_SIZE (512*1024)
#define TEST_MAIN
#define TEST_NAME "memcpy"
#include "bench-string.h"
Expand Down Expand Up @@ -160,7 +160,7 @@ do_test (json_ctx_t *json_ctx, size_t max_size)
}

json_element_object_begin (json_ctx);
json_attr_uint (json_ctx, "max-size", (double) max_size);
json_attr_uint (json_ctx, "length", (double) max_size);
json_array_begin (json_ctx, "timings");

FOR_EACH_IMPL (impl, 0)
Expand Down

0 comments on commit ec0b55a

Please sign in to comment.