Skip to content

Optimize mqueue's performance#323

Closed
lawkai-vivo wants to merge 2 commits intovivoblueos:mainfrom
lawkai-vivo:opt-mqueue
Closed

Optimize mqueue's performance#323
lawkai-vivo wants to merge 2 commits intovivoblueos:mainfrom
lawkai-vivo:opt-mqueue

Conversation

@lawkai-vivo
Copy link
Copy Markdown
Contributor

No description provided.

@lawkai-vivo
Copy link
Copy Markdown
Contributor Author

build_prs

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Feb 3, 2026

@lawkai-vivo lawkai-vivo marked this pull request as draft February 3, 2026 11:14
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Feb 3, 2026

❌ Job failed. Failed jobs: build_and_check_boards (failure), see https://github.com/vivoblueos/kernel/actions/runs/21627870165.

Comment thread kernel/src/sync/mqueue.rs
let this_thread = scheduler::current_thread_ref();
let mut queue = self.lock();
let mut send_queue = self.pend_queues[SEND_TYPE].irqsave_lock();
let mut send_queue = self.pend_queues[SEND_TYPE].lock();
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do we support use mqueue in irq ?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

let mut queue = self.lock(); has disabled the irq.

@lawkai-vivo
Copy link
Copy Markdown
Contributor Author

I'll close it since it's unable to resolve perf issue on rv64.

@lawkai-vivo lawkai-vivo closed this Mar 3, 2026
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

Successfully merging this pull request may close these issues.

2 participants