From: otto Date: Sun, 9 Jan 2022 07:18:50 +0000 (+0000) Subject: Increase the max size of allocations, in prep for a large cache implementation. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=af97903fb555373f4af4abf3f3808148e699bb6f;p=openbsd Increase the max size of allocations, in prep for a large cache implementation. --- diff --git a/regress/lib/libc/malloc/malloc_general/malloc_general.c b/regress/lib/libc/malloc/malloc_general/malloc_general.c index 7dbaf5d8aa5..b243787bcf7 100644 --- a/regress/lib/libc/malloc/malloc_general/malloc_general.c +++ b/regress/lib/libc/malloc/malloc_general/malloc_general.c @@ -1,4 +1,4 @@ -/* $OpenBSD */ +/* $OpenBSD: malloc_general.c,v 1.7 2022/01/09 07:18:50 otto Exp $ */ /* * Copyright (c) 2017 Otto Moerbeek * @@ -20,14 +20,14 @@ #include #include -/* $define VERBOSE */ +/* #define VERBOSE */ #define N 1000 size_t size(void) { - int p = arc4random_uniform(13) + 3; + int p = arc4random_uniform(17) + 3; return arc4random_uniform(1 << p); }