[PATCH openEuler-1.0-LTS 447/769] task_work_run: don't take ->pi_lock unconditionally