pps: make idr lock a mutex and protect idr_pre_get