PC-BSD/trueos 43a786bsys/vm memguard.c

Use M_NEXTFIT in memguard(9).

memguard(9) wants to avoid reuse of freed addresses for as long as
possible.  Previously it maintained a racily updated cursor which was
passed to vmem_xalloc(9) as the minimum address.  However, vmem will
not in general return the lowest free address in the arena, so this
trick only really works until the cursor has wrapped around the first
time.

Reported by:    alc
Reviewed by:    alc
MFC after:      1 month
Differential Revision:  https://reviews.freebsd.org/D17227
DeltaFile
+34-49sys/vm/memguard.c
+34-491 files

UnifiedSplitRaw