-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mcount_return_trampoline: Don't disable interrupts #10
Conversation
Huh yeah, seems I missed that one. Now wondering how it ever worked? If i recall correctly, the reason for the changes in the latest commit were some changes in libhermit which lead to frequent crashes (tracing interrupt-based filesystem writes?). Something with interrupt at inopportune moments, trashing the stack/flags register. |
Ah, I see. That makes sense. I have only tested with the rust example, and that one always crashes for me on the latest commit without this fix, as explained in #8. |
Ah, nevermind, I did not test this change correctly. I'll rework this. |
Ah, sorry. I must have been not very concentrated. Anyway, I found the issue now. The stack has been handled correctly. The problem is calling |
I think one issue I tried to fix was that an interrupt was arriving while the kernel was in |
Ah, so then the problem is the access to |
This fixes #8 for me.