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

Drop gcrypt dependency and use blake3 #1395

Merged
merged 3 commits into from
Jan 22, 2024

Conversation

giuseppe
Copy link
Member

alternative to #1393

Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
@@ -35,6 +35,8 @@ endif
check_LIBRARIES = libcrun_testing.a

libcrun_SOURCES = src/libcrun/utils.c \
src/libcrun/blake3/blake3.c \
src/libcrun/blake3/blake3_portable.c \
Copy link
Collaborator

Choose a reason for hiding this comment

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

Would it be a good idea of having a path to sub-repo of blake3 here instead of actual files ? Then crun-repo can avoid maintaining these sources directly ?

Copy link
Member Author

Choose a reason for hiding this comment

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

Copy link
Collaborator

Choose a reason for hiding this comment

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

Ah sounds good in that case.

@rhatdan
Copy link
Member

rhatdan commented Jan 22, 2024

LGTM

Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
Closes: https://issues.redhat.com/browse/RHEL-22011

Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
@giuseppe giuseppe marked this pull request as ready for review January 22, 2024 17:55
@giuseppe
Copy link
Member Author

ready to merge

@rhatdan rhatdan merged commit 0dca3a0 into containers:main Jan 22, 2024
36 checks passed
@calvin2021y
Copy link

After add this patch, I get CPU 100% some time. how to debug to trace down which line cause this ?

@giuseppe
Copy link
Member Author

do you have a reproducer?

I would suggest running under gdb and stopping the debugger while you hit the cpu running at 100%

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.

4 participants