> > Only elevator_find_get is calling __elevator_find after applying the > > series. Maybe we can just remove __elevator_find and move the list > > iterating logic into elevator_find_get? > > We could. But then we'd need another local variable to track what > was found, so I'm not sure it is a win. In general having a pure > list lookup in a helper while all the locking and refcounting in > a wrapper around it tends to be a quite nice pattern. Got it, thank you for your answer and patience! Thanks! Jinlong Chen