Breaks up the proc_lock to use the mm_lock