Skip to content
  1. Dec 04, 2016
  2. Nov 29, 2016
    • John Szakmeister's avatar
      Implement a more reliable detection scheme for os_unfair_lock. · a05d4da4
      John Szakmeister authored
      The core issue here is the weak linking of the symbol, and in certain
      environments--for instance, using the latest Xcode (8.1) with the latest
      SDK (10.12)--os_unfair_lock may resolve even though you're compiling on
      a host that doesn't support it (10.11).
      
      We can use the availability macros to circumvent this problem, and
      detect that we're not compiling for a target that is going to support
      them and error out at compile time.  The other alternative is to do a
      runtime check, but that presents issues for cross-compiling.
      a05d4da4
  3. Nov 24, 2016
    • Jason Evans's avatar
      Mark partially purged arena chunks as non-hugepage. · e98a620c
      Jason Evans authored
      Add the pages_[no]huge() functions, which toggle huge page state via
      madvise(..., MADV_[NO]HUGEPAGE) calls.
      
      The first time a page run is purged from within an arena chunk, call
      pages_nohuge() to tell the kernel to make no further attempts to back
      the chunk with huge pages.  Upon arena chunk deletion, restore the
      associated virtual memory to its original state via pages_huge().
      
      This resolves #243.
      e98a620c
  4. Nov 22, 2016
  5. Nov 18, 2016
    • Jason Evans's avatar
      Add pthread_atfork(3) feature test. · 949a27fc
      Jason Evans authored
      Some versions of Android provide a pthreads library without providing
      pthread_atfork(), so in practice a separate feature test is necessary
      for the latter.
      949a27fc
  6. Nov 17, 2016
  7. Nov 16, 2016
  8. Nov 15, 2016
  9. Nov 12, 2016
  10. Nov 11, 2016
  11. Nov 08, 2016
  12. Nov 07, 2016
  13. Nov 05, 2016
  14. Nov 04, 2016