• Vladimír Čunát's avatar
    lru_get_new *can* return NULL · eeec66a1
    Vladimír Čunát authored
    ... and that doesn't necessarily mean that malloc() failed.
    We do *not* want to evict a heavy-hitter by an unfrequent element.
    
    Note: even the implementation currently in master *did* return NULL,
    so some parts of the code were just wrongly returning ENOMEM.
    eeec66a1