One thing I am very confused is, if all the other threads goes to
sleep,can this only one thread(assume only one thread marked itself as
unfreezable.) still works well?
Regards
Jason
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majo...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
It will be able to run when all freezable threads are frozen.
> One thing I am very confused is, if all the other threads goes to
> sleep,can this only one thread(assume only one thread marked itself as
> unfreezable.) still works well?
The question is rather theoretical, because there are some unfreezable threads
in the system. In theory, such a thread can work well as long as it doesn't
need to wait for another thread that is frozen.
Greetings,
Rafael
--
"Premature optimization is the root of all evil." - Donald Knuth