Elegant perhaps, but now you take the time to do a completely
unnecessary
page fault when rescheduling. This has a cost which is high on
some architectures. But the point of rescheduling was to improve
interactive performance and io latency.
Every page fault may have to check for this case.
Helge Hafting
-
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/