Closed dragosargint closed 1 year ago
All good from my side now, waiting on the other reviewers to add the tag.
The PR looks good. I just have one question. Should we write somewhere that in order to make the clone wrapper function work, CLONE_VM
, CLONE_FILES
and CLONE_FS
should be added as flags?
The PR looks good. I just have one question. Should we write somewhere that in order to make the clone wrapper function work,
CLONE_VM
,CLONE_FILES
andCLONE_FS
should be added as flags?
The flags are not added, they are default in musl for creating threads as we discussed. Indeed, in the release documentation, it should be mentioned that the `clone()' syscall only works for creating threads. Therefore, these flags must be used.
Looks good. Reviewed-by: Florin Postolache florin.postolache80@gmail.com
It seems like Makefile.uk.musl.process:#LIBMUSL_PROCESS_SRCS-y += $(LIBMUSL)/src/process/waitpid.c
needs to be commented in to build with the current Unikraft branch.
Yes, it happened to me too (I think you mean uncommented?)
It seems like
Makefile.uk.musl.process:#LIBMUSL_PROCESS_SRCS-y += $(LIBMUSL)/src/process/waitpid.c
needs to be commented in to build with the current Unikraft branch.
Hi, Robert! Thank you for your comment! You are right, that source must be uncommented from the Makefile. I modified this PR https://github.com/unikraft/lib-musl/pull/5 and rebased this one as well.
@dragosargint Can you please change my information to Robert Kuban <robert.kuban@opensynergy.com>
in commit 2a3c2a0? Yours are generated by the web interface as well.
Just 2 minor things:
Hi, @dragosargint . See some cosmetic comments from my side.
Thank you for the comments, @razvand. I applied your suggestions.
This PR contains essential changes for thread support in musl. This PR is currently a superset of https://github.com/unikraft/lib-musl/pull/5 , which will need to be merged first (So please don't bother with the first 4 commits). This PR is dependent on: [1] Simon's uksched refactor: https://github.com/skuenzer/unikraft/tree/skuenzer/sched-refactor [2] unikraft/unikraft#454 [3] unikraft/unikraft#453 [4] unikraft/unikraft#442 [5] unikraft/unikraft#441 [6] https://github.com/unikraft/unikraft/pull/488
[4] Cannot be automatically be merged into [1] right now, I will provide a patch on discord