To hunt kernel bugs during exit, terminate processes simultaneously.
authorbluhm <bluhm@openbsd.org>
Wed, 28 Apr 2021 17:59:53 +0000 (17:59 +0000)
committerbluhm <bluhm@openbsd.org>
Wed, 28 Apr 2021 17:59:53 +0000 (17:59 +0000)
commit0383853b786e4046dad8884064c8759a7ac49184
tree43ab60dc0060f5f8af2267df2b776840e01a0b34
parent0ecb2561413dfe001143fc0619a27d776a37fa8c
To hunt kernel bugs during exit, terminate processes simultaneously.
Fork 300 children that sleep.  Kill them together as process group.
Sleeping can optionally be done with individual memory layout by
executing sleep(1).
regress/sys/kern/Makefile
regress/sys/kern/fork-exit/Makefile [new file with mode: 0644]
regress/sys/kern/fork-exit/fork-exit.c [new file with mode: 0644]