Fu Wei wrote:
If pretimeout concept assumes that there are two timers, I misunderstand the "pretimeout", then I will delete the pretimeout immediately.
In my opinion, calling panic() on a pre-timeout is not useful, because that's really just a normal timeout. If there were a way to "warn" user space that a timeout is about to occur, without a panic or reset, then that might be useful. But as far as I can see, all you're doing is redefining the word "timeout".