forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 144
Closed
Description
As far as I know, setjmp must be used inline so the the stack is still alive when long jmp happens. "And some esoteric tasks (generally requiring the use of assembly code, such as setjmp and certain kinds of locking) must be performed inline or they won't work right."
But the way we use setjmp in LKL is not inlined so I'm worried this may be cause of segment fault I observed (at very low frequency). I can't explain why it works though.
Also I don't find a way to inline the setjmp into LKL kernel code.
Metadata
Metadata
Assignees
Labels
No labels