and move them into md_uac in struct mdproc. mdproc is protected by the proc lock. md_flags now is only ever modified by the current thread, so it doesn't need a lock. - Rename the constants for all the per-thread MD flags to use MDTD_* instead of MDP_*.