Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

internal/refcount.h: remove fence in CRYPTO_DOWN_REF. #6900

Closed
wants to merge 3 commits into from

Commits on Aug 9, 2018

  1. internal/refcount.h: remove fence in CRYPTO_DOWN_REF.

    Fencing is about data visibility in multi-processor system and ordering
    loads and stores. When reference counter hits zero, current thread is
    last one to hold the reference, and it's actually about to discard the
    object. It doesn't have to care about data becoming visible to other
    processors. Nor is there reason to assume that speculative loads in
    destructor would yield stale data, because object was already assumed
    to be "stable" when it was used just before reference counter hit zero.
    Andy Polyakov committed Aug 9, 2018
    Copy the full SHA
    308382d View commit details
    Browse the repository at this point in the history

Commits on Aug 15, 2018

  1. internal/refcount.h: restore acquire fence and add commentary [to be …

    …squashed].
    Andy Polyakov committed Aug 15, 2018
    Copy the full SHA
    65cccc8 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    f1edfe1 View commit details
    Browse the repository at this point in the history