History log of /openbsd-current/regress/sys/kern/fork-exit/fork-exit.c
Revision Date Author Comments
# 1.7 06-Jul-2021 bluhm

alarm(3) cannot fail, remove error handling.
suggested by millert@


# 1.6 22-May-2021 bluhm

On powerpc64 calling a function needs 64 bytes of stack overhead
per recursion. On amd64 it is only 32. Allocate more stack per
thread and the stack tests pass everywhere


# 1.5 21-May-2021 bluhm

Fix the calculation of the maximum stack size in the command line
option -s.


# 1.4 21-May-2021 bluhm

Set the stack size attribute of the pthreads large enough to allocate
the specified amount of stack memory. On 32 bit architectures
regress fork-exit failed as the default stack size for pthreads is
smaller. With the limit set to the expected size we can test even
larger thread stacks.


# 1.3 04-May-2021 bluhm

Create memory pressure in test. Allocate heap and stack in child
processes and threads. Then exit has more work to do.


# 1.2 29-Apr-2021 bluhm

Extend the fork and exit test with threads. Simultaneously kill
30 processes with 30 threads each.


# 1.1 28-Apr-2021 bluhm

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).


# 1.6 22-May-2021 bluhm

On powerpc64 calling a function needs 64 bytes of stack overhead
per recursion. On amd64 it is only 32. Allocate more stack per
thread and the stack tests pass everywhere


# 1.5 21-May-2021 bluhm

Fix the calculation of the maximum stack size in the command line
option -s.


# 1.4 21-May-2021 bluhm

Set the stack size attribute of the pthreads large enough to allocate
the specified amount of stack memory. On 32 bit architectures
regress fork-exit failed as the default stack size for pthreads is
smaller. With the limit set to the expected size we can test even
larger thread stacks.


# 1.3 04-May-2021 bluhm

Create memory pressure in test. Allocate heap and stack in child
processes and threads. Then exit has more work to do.


# 1.2 29-Apr-2021 bluhm

Extend the fork and exit test with threads. Simultaneously kill
30 processes with 30 threads each.


# 1.1 28-Apr-2021 bluhm

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).


# 1.5 21-May-2021 bluhm

Fix the calculation of the maximum stack size in the command line
option -s.


# 1.4 21-May-2021 bluhm

Set the stack size attribute of the pthreads large enough to allocate
the specified amount of stack memory. On 32 bit architectures
regress fork-exit failed as the default stack size for pthreads is
smaller. With the limit set to the expected size we can test even
larger thread stacks.


# 1.3 04-May-2021 bluhm

Create memory pressure in test. Allocate heap and stack in child
processes and threads. Then exit has more work to do.


# 1.2 29-Apr-2021 bluhm

Extend the fork and exit test with threads. Simultaneously kill
30 processes with 30 threads each.


# 1.1 28-Apr-2021 bluhm

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).


# 1.3 04-May-2021 bluhm

Create memory pressure in test. Allocate heap and stack in child
processes and threads. Then exit has more work to do.


# 1.2 29-Apr-2021 bluhm

Extend the fork and exit test with threads. Simultaneously kill
30 processes with 30 threads each.


# 1.1 28-Apr-2021 bluhm

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).


# 1.2 29-Apr-2021 bluhm

Extend the fork and exit test with threads. Simultaneously kill
30 processes with 30 threads each.


# 1.1 28-Apr-2021 bluhm

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).