diff options
| author | Florian Weimer <fweimer@redhat.com> | 2019-05-03 17:46:36 +0200 |
|---|---|---|
| committer | Florian Weimer <fweimer@redhat.com> | 2019-05-03 17:46:36 +0200 |
| commit | 334b9d878e0b37582612c16624fc8e3488f5a650 (patch) | |
| tree | df9b95d105406130ea025ab817c7c3904ecac922 /ChangeLog | |
| parent | ac3da35de5cf113edfd514c2fc8ccbaed4536aaf (diff) | |
| download | glibc-fw/tst-mallocfork2.tar.xz glibc-fw/tst-mallocfork2.zip | |
malloc/tst-mallocfork2: Use process-shared barriersfw/tst-mallocfork2
This synchronization method has a lower overhead and makes
it more likely that the signal arrives during one of the critical
functions.
Also test for fork deadlocks explicitly.
Diffstat (limited to 'ChangeLog')
| -rw-r--r-- | ChangeLog | 20 |
1 files changed, 20 insertions, 0 deletions
@@ -1,5 +1,25 @@ 2019-05-03 Florian Weimer <fweimer@redhat.com> + malloc/tst-mallocfork2: Use process-shared barriers. + * malloc/tst-mallocfork2.c: Switch to <support/test-driver.c>. + (signal_count, sigusr1_sender_pid): Remove. + (iterations): Define constant. + (shared): New variable. + (sigusr1_received): Update comment. + (sigusr1_handler): Do not send SIGSTOP to the sender process. + (signal_sender): Optional use barriers to avoid sending signals + during irrelevant times. + (do_it): Initialize variable shared. Use xfork for error + checking. Launch multiple SIGUSR1-sending subprocesses. Limit + the iteration count, independent of signal delivery. Check for + deadlocks in fork. Introduce barriers for reducing signal + traffic. Do not send SIGCONT to the SIGUSR1-sending processes; + replaced by the barriers. Count signals during fork/free/malloc + and report them. + * malloc/Makefile (tst-mallocfork): Link with libpthread. + +2019-05-03 Florian Weimer <fweimer@redhat.com> + * misc/tst-tsearch.c (walk_tree): Add more error checking. 2019-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org> |
