[OpenSIPS-Devel] [OpenSIPS/opensips] e61884: Added support to fast_lock for mips and mips64el

Răzvan Crainea razvan at opensips.org
Mon Aug 29 10:21:27 CEST 2016


  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: e61884fdc34ad42637b498da4f9f7071d45235bd
      https://github.com/OpenSIPS/opensips/commit/e61884fdc34ad42637b498da4f9f7071d45235bd
  Author: Daniel Knezevic <danielknezevic90 at gmail.com>
  Date:   2016-08-09 (Tue, 09 Aug 2016)

  Changed paths:
    M Makefile.defs
    M fastlock.h
    M futex_lock.h

  Log Message:
  -----------
  Added support to fast_lock for mips and mips64el

Added support to detect mips32 architecture (as mips BE had been migrated to
MIP32R2 ISA) in Makefile.defs and enables fast_lock (hardware locking support)
The detection is achieved by adding a check for predefined compiler macros for
mips32 architecture (_MIPS_ISA_MIPS32, _MIPS_ARCH_MIPS32R2, _MIPS_ARCH_MIPS32).
For mips and mips64el arch specific definitions are added to enable fast_lock.
Mips and mips64el use the same assembler routines for the fast architecture
dependant locking primitives as mips2 implementation.


  Commit: 65d86fd0c362f3081cc0341760c6ebd1b900abaa
      https://github.com/OpenSIPS/opensips/commit/65d86fd0c362f3081cc0341760c6ebd1b900abaa
  Author: Răzvan Crainea <razvan at opensips.org>
  Date:   2016-08-29 (Mon, 29 Aug 2016)

  Changed paths:
    M Makefile.defs
    M fastlock.h
    M futex_lock.h

  Log Message:
  -----------
  Merge pull request #944 from Deni90/master

Added support to fast_lock for mips and mips64el


Compare: https://github.com/OpenSIPS/opensips/compare/daf63bb229b8...65d86fd0c362


More information about the Devel mailing list