[PATCH openEuler-5.10 048/102] livepatch: Avoid CPU hogging with cond_resched