• Nils Goroll's avatar
    optimize vbp_thread wakeup · fff84820
    Nils Goroll authored
    We only need to wake up vbp_thread if the probe we insert on the binheap
    has become the next due. As a binheap_root() call is cheap and saves
    posting many signals, this optimization should be worth some extra
    lines.
    
    Also we add a function for the two places where we insert into the heap.
    
    Ref #2976
    fff84820
cache_backend_probe.c 16.7 KB