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 unlikely()
to error checking conditions
#1233
Comments
Hi! I am a Computer Science student at the University of Texas at Austin. I am currently taking virtualization (CS 360v) and I would like to contribute to this project. I saw this issue opened up last year and I would like to work on it, but I was wondering if it was still open. |
Sure, @pranjalrai4 , go for it. |
@razvand How do we know if an error is unlikely()? Also, would we need to do this for every file in the codebase or do we need to do this for a subset of files? |
@pranjalrai4 , |
@razvand What is the selector and component for this issue? I want to confirm before committing our changes : ) |
@ggracechoi , if it touches multiple libraries, use |
Feature request summary
The
unlikely()
macro is not used consistently to check for unlikely error situations. For example,unlikely()
is not being used inlib/ukcpio/cpio.c
.The text was updated successfully, but these errors were encountered: