Skip to content
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

Multi-core shortcut script bug #23

Open
tommy-u opened this issue Feb 9, 2023 · 0 comments
Open

Multi-core shortcut script bug #23

tommy-u opened this issue Feb 9, 2023 · 0 comments

Comments

@tommy-u
Copy link
Contributor

tommy-u commented Feb 9, 2023

If you absolutely hammer the shortcut script with multiple vm cores & a nop program, you can trigger a silent barf, perhaps a deadlock w/ the core nop was running on in the page fault handler (including the mitigation) and the other core

Makefile:

run_be: nop
	taskset -c 0 shortcut.sh -be --- ./nop

Shell
for i in $(seq 1 5000); do make run_be; done

Ali thinks this is about an IPI during a tlb shootdown which is prepared on a user stack & inaccessible to the remote core (b/c it doesn't have the user pg table loaded).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant