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

Support stack copying fallback #27

Open
tkf opened this issue Jan 8, 2022 · 0 comments
Open

Support stack copying fallback #27

tkf opened this issue Jan 8, 2022 · 0 comments

Comments

@tkf
Copy link
Owner

tkf commented Jan 8, 2022

Moving this to an issue from #24:

Julia fallbacks to copying stack when allocating dedicated stack for a task failed. This requires marking task sticky because the stack needs to be restored to the same per-thread (per-ptls) stack. In principle, this can be supported in Schedulers.jl by either adding sticky queues to the scheduler or using the native sticky queues when the stack allocation failed. But I couldn't make these approaches work so far. The former approach can be found in: #23

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