Konstantin Belousov a7751d328a Make stack grow use the same gap as stack create.
Store stack_guard_page * PAGE_SIZE into the gap->next_read field at
the time of the stack creation.  This makes the used guard size
consistent between stack creation and stack grow time.

Suggested by:	alc
Reviewed by:	alc, markj
Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
Differential revision:	https://reviews.freebsd.org/D21384
2019-08-24 14:29:13 +00:00
..
2017-11-30 15:45:42 +00:00
2019-06-02 01:00:17 +00:00
2019-07-03 19:59:56 +00:00
2019-08-24 00:01:19 +00:00