[PATCH 6.1 145/291] ftrace: Add cond_resched() to ftrace_graph_set_hash()