• Eric Wong's avatar
    songvec: avoid holding nr_lock during free(3) · 313405ed
    Eric Wong authored
    We only need to lock sv->nr changes to prevent traversals ( why
    it's called "nr_lock").  free(3) is a "slow" function on my
    system; so we can avoid unnecessarily holding a lock long for
    longer than needed.
    313405ed
songvec.c 2.33 KB