+1
−5
+4
−10
+2
−5
Loading
Clean the opencoded variant, cond_resched_lock also checks the lock for
contention so it might help in some cases that were not covered by
simple need_resched().
Signed-off-by:
David Sterba <dsterba@suse.cz>