[openssl/openssl] 56233b: apps/speed.c: Wait for generated children

openssl-machine noreply at github.com
Wed Aug 31 07:34:37 UTC 2022


  Branch: refs/heads/master
  Home:   https://github.com/openssl/openssl
  Commit: 56233ba8574c01b3912cf662335fedaabc7faec2
      https://github.com/openssl/openssl/commit/56233ba8574c01b3912cf662335fedaabc7faec2
  Author: Juergen Christ <jchrist at linux.ibm.com>
  Date:   2022-08-31 (Wed, 31 Aug 2022)

  Changed paths:
    M apps/speed.c

  Log Message:
  -----------
  apps/speed.c: Wait for generated children

In multi-mode, speed fork()s off several children but does not wait for them.
On Linux, this leads to wrong accounting information of getrusage used by
tools to extract running time and page faults.

Wait for every children and check the return code and termination signal.

Signed-off-by: Juergen Christ <jchrist at linux.ibm.com>

Reviewed-by: Paul Dale <pauli at openssl.org>
Reviewed-by: Tomas Mraz <tomas at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/19093)




More information about the openssl-commits mailing list