Make sure you cover the hard real time task that wont be pre-empted case.
Your freeze thread also can deadlock very very easily. Suppose your freeze
thread pre-empts a thread holding a resource that has to be released for the
module unload.
Basically that proposal seems to be a walking priority inversion problem
Alan
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/