Chengjun Chen

Results 37 issues of Chengjun Chen

We detected several double free bugs in your crate via static analysis. Double free will appear when these function unwind, mainly caused by Vec::from_raw_parts & mem::forget. In Rust Mir, inserting...

Solves an important performance bottleneck in handle page fault. Improve the performance in #763 Currently if we use `VmAllocOption::alloc_single` to alloc a `VmFrame`, the internal implementation will init the `VmFrame`...

- Introduce CPU clock and CPU timer. - Add `setitimer`, `getitimer`, `timer_create`, `timer_settime`, `timer_gettime` and `timer_delete` syscalls. - Add syscall tests. This PR is based on and should be merged...

The detail of this pr: - Introducing the abstractions for the clock and the timer at `aster-nix`. - Support coarse-frained clock. - Remove the timer module from the aster-frame. -...

The original implementation of `unmap` will do `unmap_one_page` for the entire input `range`. This PR modify the behavior of this `unmap`, which currently will only perform `unmap_one_page` for the mapped...

In the VDSO, coarse resolution clock IDs directly read the instant stored in vdso data without using coefficients for calculation, thus the related instant requires more frequent updating. Fix the...

Currently the `read` and `write` API in `Vmar` requires the operation range is completely in a single `VmMapping`. Since we introduce the split functionality to `VmMapping`, the `read` and `write`...

Based on PR #721 Current implementation will execute softirq at the return of the hardware interruption. Future should enable ksoftirqd/n thread.

## Motivation: Curently, the clock system in Asterinas is incomplete. We only support the ability of reading time for `CLOCK_REALTIME` and `CLOCK_MONOTONIC`, and lack the abstraction and implementation for other...

`nanosleep` syscall is used by runc. We already have the syscall `clock_nanosleep` but have not supported syscall `nanosleep`, which is a subset of `clock_nanosleep` and can be implemented directly based...