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

[Performance Improvement] Change the rdev->lock in struct rpmsg_device from mutex to spinlock #635

Open
CV-Bowen opened this issue Jan 16, 2025 · 1 comment

Comments

@CV-Bowen
Copy link
Contributor

I noticed that rdev->lock can be changed to spinlock(with irqsave/irqrestore) to improve the performace, what do you think. @arnopo @edmooring @tnmysh
If so, I can't create a PR to do this.

@tnmysh
Copy link
Collaborator

tnmysh commented Jan 16, 2025

I am not sure what do you mean by spinlock. Could you please give link to code which is refrenced above (rdev->lock) ?

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

2 participants