-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Comparing changes
Open a pull request
base repository: tokio-rs/tokio
base: 9f387cf
head repository: tokio-rs/tokio
compare: 3b89981
- 14 commits
- 18 files changed
- 5 contributors
Commits on Dec 28, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 52f28dc - Browse repository at this point
Copy the full SHA 52f28dcView commit details
Commits on Dec 29, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 5f7fe8f - Browse repository at this point
Copy the full SHA 5f7fe8fView commit details
Commits on Dec 30, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 581cd41 - Browse repository at this point
Copy the full SHA 581cd41View commit details -
Configuration menu - View commit details
-
Copy full SHA for 48345d6 - Browse repository at this point
Copy the full SHA 48345d6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 02b779e - Browse repository at this point
Copy the full SHA 02b779eView commit details
Commits on Dec 31, 2023
-
feat(process) pidfd: Implement initial
PidfdReaper
implSigned-off-by: Jiahao XU <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d3b6551 - Browse repository at this point
Copy the full SHA d3b6551View commit details -
Use
PidfdReaper
inunix::Child
if possiblefallback to signal-based `Reaper` if pidfd cannot be created. Signed-off-by: Jiahao XU <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 106d9c8 - Browse repository at this point
Copy the full SHA 106d9c8View commit details -
Fix compilation on non-linux targets
Signed-off-by: Jiahao XU <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a3945d0 - Browse repository at this point
Copy the full SHA a3945d0View commit details -
Signed-off-by: Jiahao XU <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c6a869f - Browse repository at this point
Copy the full SHA c6a869fView commit details -
Fix running tests in
pidfd_reaper
Signed-off-by: Jiahao XU <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5f62be6 - Browse repository at this point
Copy the full SHA 5f62be6View commit details -
Disable
pidfd_reaper
test for miriSince miri does not support process spawning Signed-off-by: Jiahao XU <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 92bef5a - Browse repository at this point
Copy the full SHA 92bef5aView commit details -
Skip pidfd testing on unsupported linux kernel
Only Linux kernel >= 5.10 support pidfd Signed-off-by: Jiahao XU <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 80a1cd7 - Browse repository at this point
Copy the full SHA 80a1cd7View commit details -
Optimization: Skip
pidfd_open
if last call failed withENOSYS
And fixed `test::is_pidfd_available` Signed-off-by: Jiahao XU <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c38faca - Browse repository at this point
Copy the full SHA c38facaView commit details -
Fix
PidfdReaper::drop
: do not spawn any task thereTo avoid potential headaches such as: - The drop being run outside of a Tokio runtime context - The runtime being present but not actually running Since this is the initial implementation, I chose to use the `OrphanQueue` also used by the signal-driven `Reaper` impl. It's simple and easy to implement without having to add runtime driver and guaranteed to work. Further improvement can be done on the basis of this PR. Signed-off-by: Jiahao XU <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3b89981 - Browse repository at this point
Copy the full SHA 3b89981View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff 9f387cf...3b89981