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

Allocate big data structures of the scheduler dynamically #5

Closed
OlliV opened this issue Feb 14, 2014 · 2 comments
Closed

Allocate big data structures of the scheduler dynamically #5

OlliV opened this issue Feb 14, 2014 · 2 comments

Comments

@OlliV
Copy link
Member

OlliV commented Feb 14, 2014

Large data structures like task_table should be allocated dynamically either with kmalloc or maybe preferably with dynmem since we may want to make these quite big for any real use.

@OlliV
Copy link
Member Author

OlliV commented May 14, 2014

It might be actually impossible because for example stack frame must be readable and writable when master page table is already changed. Instead parts of it could be possible to move. Another option could be copy the TCB of an active thread to some static location and copy it back to the dynamic location when scheduler is executed.

@OlliV
Copy link
Member Author

OlliV commented Aug 31, 2014

Now developing an alternative scheduler.

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

No branches or pull requests

1 participant