Lines Matching refs:need_resched
380 if (!need_resched())
432 * which can obviate IPI to trigger checking of need_resched.
433 * We execute MONITOR against need_resched and enter optimized wait state
434 * through MWAIT. Whenever someone changes need_resched, we would be woken
443 if (!need_resched()) {
449 if (!need_resched())
457 if (!need_resched()) {
464 if (!need_resched())
474 * to poll the ->work.need_resched flag instead of waiting for the
481 while (!need_resched())
544 if (need_resched())