[ovs-git] [openvswitch/ovs] 066a84: latch-unix: Decrease the stack usage in latch

Ben Pfaff noreply at github.com
Thu Jul 15 18:42:04 UTC 2021


  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: 066a84f89ac25cf26f21590d4e2130899a15d0d6
      https://github.com/openvswitch/ovs/commit/066a84f89ac25cf26f21590d4e2130899a15d0d6
  Author: Anton Ivanov <anton.ivanov at cambridgegreys.com>
  Date:   2021-07-15 (Thu, 15 Jul 2021)

  Changed paths:
    M lib/latch-unix.c

  Log Message:
  -----------
  latch-unix: Decrease the stack usage in latch

1. Make latch behave as described and documented - clear all
outstanding latch writes when invoking latch_poll().
2. Decrease the size of the latch buffer. Less stack usage,
less cache thrashing.

Signed-off-by: Anton Ivanov <anton.ivanov at cambridgegreys.com>
Signed-off-by: Ben Pfaff <blp at ovn.org>




More information about the git mailing list