Skip to content

Use List data structure instead of wait VecQueue #182

@guoweikang

Description

@guoweikang

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions