-
Notifications
You must be signed in to change notification settings - Fork 14
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
feat: eventfd crate & syscall #50
feat: eventfd crate & syscall #50
Conversation
363b2b5
to
5ca6612
Compare
use core::convert::{From, Into}; | ||
use core::option::Option; | ||
use core::option::Option::{None, Some}; | ||
use core::prelude::rust_2021::derive; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not sure why does the clippy ask me to import the above
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- If you has split the eventfd as a indendpent crate, then codes about this crate in
ulib/axstarry/src/syscall_fs
module may be updated to remove useless code. - Maybe you need to squash your commit, for example the commit reorder
5ca6612
to
851b291
Compare
Hi @Azure-stars
Thanks. |
65d93da
to
c064f07
Compare
Extract the eventfd logic(reusable part) to crates to make the code more testable and composable.
Test evidence:

riscv
x86_64
