1. 18 Jan, 2016 3 commits
  2. 15 Jan, 2016 2 commits
    • Lasse Karstensen's avatar
      1fd0d394
    • Poul-Henning Kamp's avatar
      Add a final backstop, so we absolutely 100% certainly do not · 32af38d4
      Poul-Henning Kamp authored
      try to delete a objhead while it still has a waiting list,
      by forcing the last ref holder to rush the WL.
      
      Since the hasher owns the refcounts on objhead, we cannot just
      mingle req and objcore refcounts.
      
      Fortunately we don't need to add another refcounter, because all
      we really care about is the wl being empty when we drop the last
      ref.
      
      The wl/hsh_rush() mechanism will work differently with different
      thread-scheduling schenarios, and I cannot definitively rule out
      that we can drop the last ref on an oh, while there are still req's
      on the waiting list.
      
      Given that, and the existence proof in ticket #1823's race, this
      might have been the indicated memory-trampler.
      
      Conflicts:
      	bin/varnishd/cache/cache_hash.c
      32af38d4
  3. 14 Jan, 2016 35 commits