History log of /openbsd-src/regress/sys/uvm/mmap_hint/mmap_hint.c (Results 1 – 6 of 6)
Revision Date Author Comments
# 49a6e16f 13-Dec-2021 deraadt <deraadt@openbsd.org>

remove a couple hundred sys/param.h includes in userland code, and
also whack some sys/cdefs.h early includes which is such a brutally
bad pattern
ok bluhm mbuhl


# 9e720447 13-Jul-2017 bluhm <bluhm@openbsd.org>

Round VM_MAXUSER_ADDRESS down to next page to make mmap_hint regress
pass on sparc64.


# 9b01b079 12-Jul-2017 bluhm <bluhm@openbsd.org>

We cannot mmap(2) memory at VM_MAXUSER_ADDRESS as the full allocated
page must be below that address. Subtract PAGE_SIZE from the hint
address, then regress passes.


# c4613df5 07-Jul-2017 bluhm <bluhm@openbsd.org>

Make mmap_hint.c compile on i386 by adding includes. Unfortunately
test is still failing.


# ebf20f88 21-Mar-2013 deraadt <deraadt@openbsd.org>

sys/param.h, not machine/param.h


# faca773d 07-Oct-2011 ariane <ariane@openbsd.org>

Test hint-based mmap allocations.

A hint-based allocation may only fail if no memory is available near the
allocation. The value of near is chosen to be 2GB in this scenario.