Skip to content

Conversation

@ken4647
Copy link
Contributor

@ken4647 ken4647 commented Jul 22, 2025

This PR is trying to merge current work on dev branch into main branch, including:

✨ New Features

Architecture Support

Core Systems

🐛 Bug Fixes

⚙️ Infrastructure

📦 Applications

coolyjg and others added 30 commits May 6, 2024 17:04
1. Modified crates/spinlock to provide support for multiple backoff strategies
when encountering lock contention, including exp-backoff.

2. Modified `BaseSpinLock` in crates/spinlock to support locking with a
different guard/backoff type, providing more flexibility.

3. Added a new module `ruxrand` that aims to provide support for the usage
of RNGs inside kernel. Currently a per-CPU RNG and support for rand-exp-backoff
are implemented.

4. Changed the lock type used by `RunQueue`.
Implemented various backoffs and per-CPU rng
add implementation for rt_sigaction, sys_kill and sys_tkill
fix bug of sys_rt_sigaction, sys_poll, add sys_clock_nanosleep, sys_g…
support Multiprocess for aarch64 in EL1
fix bugs for multiprocess in aarch64.
add unixsocket without real inode
fix bug for unexpected pagefault when nested fork.
@ken4647 ken4647 requested a review from caodg July 22, 2025 16:20
@ken4647
Copy link
Contributor Author

ken4647 commented Jul 22, 2025

The current CI failure is due to the new CI system enforcing updated standards for incremental commit messages. This has caused some very old commits to fail validation, though this doesn't represent a new problem.
This will disappear in subsequent releases or after the next merge.

@ken4647 ken4647 marked this pull request as draft July 22, 2025 17:43
@caodg
Copy link
Contributor

caodg commented Jul 22, 2025

does this pr support multi-process in single address space, or in other words, the support of fork/vfork/clone2/clone ?

Copy link
Contributor

Choose a reason for hiding this comment

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

how about the support of fork/vfork/clone/clone2 in single address space?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Some changes were indeed overlooked during the organization process, but they have now been thoroughly reviewed and the omitted modifications have been added.

update time and words filter to avoid unreasonable commit mesg check
@ken4647
Copy link
Contributor Author

ken4647 commented Jul 23, 2025

does this pr support multi-process in single address space, or in other words, the support of fork/vfork/clone2/clone ?

Yes, most of them(fork/clone) was supported in after this merge. But vfork is still out of support due to functional issue, and it is marked as legacy feature in posix after 2008.

@ken4647 ken4647 marked this pull request as ready for review July 23, 2025 05:32
@ken4647 ken4647 marked this pull request as draft July 23, 2025 05:32
chore: add missing item for CHANGELOG
@ken4647 ken4647 marked this pull request as ready for review July 23, 2025 06:17
@ken4647 ken4647 merged commit 92d55a8 into main Jul 23, 2025
22 checks passed
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.