[openssl/openssl] 9710d7: apps/speed.c: Lock buffer in memory

Juergen Christ noreply at github.com
Wed Sep 28 23:08:33 UTC 2022


  Branch: refs/heads/master
  Home:   https://github.com/openssl/openssl
  Commit: 9710d72b95f4fc218ed613f42dc90ad0d263b14f
      https://github.com/openssl/openssl/commit/9710d72b95f4fc218ed613f42dc90ad0d263b14f
  Author: Juergen Christ <jchrist at linux.ibm.com>
  Date:   2022-09-29 (Thu, 29 Sep 2022)

  Changed paths:
    M apps/speed.c
    M doc/man1/openssl-speed.pod.in

  Log Message:
  -----------
  apps/speed.c: Lock buffer in memory

Lock the buffers used for throughput measurements into memory.  This removes
some side effects of paging.

Errors from the memory locking functions are ignored since they are not
critical to the application.

This feature is limited to Linux and Windows.

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

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




More information about the openssl-commits mailing list