> naah. preempt() means preempt. But the implementation
> is in fact maybe_preempt(), or preempt_if_needed().
Agreed. preempt has me envision various things, none of which are what
we want. What is the difference between schedule vs preempt?
Confusing.
What we are calling preempt here is the same as schedule, but we check
if it is needed. So I suggest conditional_schedule, which has the
benefit of being widely used in at least three patches.
schedule_if_needed, sched_if_needed, etc. both fit. Why introduce the
namespace preempt when we already have sched?
sched_conditional() and sched_needed() ?
Robert Love
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/