[ovs-git] [openvswitch/ovs] 55eebc: lib/ovs-atomic-i586: Faster 64-bit atomics on 32-b...

GitHub noreply at github.com
Thu Oct 2 16:11:13 UTC 2014


  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: 55eebc01a5471be25f16302131cb1a9c8564a591
      https://github.com/openvswitch/ovs/commit/55eebc01a5471be25f16302131cb1a9c8564a591
  Author: Jarno Rajahalme <jrajahalme at nicira.com>
  Date:   2014-10-02 (Thu, 02 Oct 2014)

  Changed paths:
    M lib/ovs-atomic-i586.h
    M tests/test-atomic.c

  Log Message:
  -----------
  lib/ovs-atomic-i586: Faster 64-bit atomics on 32-bit builds with SSE.

Aligned 64-bit memory accesses in i586 are atomic.  By using an SSE
register we can make such memory accesses in one instruction without
bus-locking.  Need to compile with -msse (or higher) to enable this
feature.

Signed-off-by: Jarno Rajahalme <jrajahalme at nicira.com>
Acked-by: Ben Pfaff <blp at nicira.com>




More information about the git mailing list