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

Use List data structure instead of wait VecQueue #182

Open
guoweikang opened this issue Oct 12, 2024 · 1 comment
Open

Use List data structure instead of wait VecQueue #182

guoweikang opened this issue Oct 12, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@guoweikang
Copy link

guoweikang commented Oct 12, 2024

The current scheduled waiting queue uses VecQueue as the main data structure, which has these problems:

  1. The deletion efficiency is affected to a certain extent
  2. An additional state in wait queue field is introduced to improve the deletion efficiency.

In fact, Linux r4l now has a relatively mature List data structure, which I hope to introduce into ArceOS.
I have done related work on Starry before: refer to https://github.com/Starry-OS/linked_list/tree/main/src

@guoweikang
Copy link
Author

guoweikang commented Oct 15, 2024

PR:
linked_list Code Refactoring : arceos-org/linked_list_r4l#1
axtask use list: #184
schedule update list: arceos-org/scheduler#2

Merge Order:

  • Merge linekd_list and publish linked_list_r4l v0.2.0
  • change scheduler : linked_list dep to v0.2.0
  • Merge scheduler and tag scheduler as v0.2.0
  • change axtask : linked_list dep to v0.2.0 scheduler dep to v0.2.0
  • Merge arceos

@equation314 equation314 added the enhancement New feature or request label Oct 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants