+ /*
+ * XXX: don't wait forever as there is no guarantee
+ * that this branch is executed first. for testing
+ * purposes this construction works good enough
+ */
+ rc = wait_event_interruptible_timeout(cfs_race_waitq,
+ cfs_race_state != 0,
+ cfs_time_seconds(5));