Chengjun Chen

Results 51 comments of Chengjun Chen

The `VmReader`/`VmWriter` created by the file system will only be in kernel space. Maybe we can leverage this property. e.g. provide two kinds of API in the upper-level (like Filelike...

`lat_mmap` and `bw_mmap_rd` can be enabled after we enable the shared filebacked mmap (#1017 ). `lat_pagefault` can also be enabled with a dummy `msync` and shared filebacked mmap. It seems...

Recently, I attempted to implement mutability related to Process VM and I referred to the suggestions in this PR. However, I encountered an issue where there is redundancy of `VmSpace`...

> fn page_fault_handler() { // Handle the page fault for the `ProcessVm` in `ThreadLocal` } I have also tried this approach. The approach in PR #1852 is that the interface...

This PR can alleviate #1395 , as shown in the figure below. However, when performing multi-threaded parallel processing of page faults, the program sometimes gets stuck due to some un-wakeable...

> However, when performing multi-threaded parallel processing of page faults, the program sometimes gets stuck due to some un-wakeable pauses (still debugging). leave it to #1420.

> Is this the same issue, a related one, or an entirely different one? Not sure...this issue might have been caused by acquiring a `SpinLock` during other file I/O operations....

```rust let frame = match self.try_prepare_page(address, is_write) { // this is a function that can return early if I/O is required NeedIO => { drop(cursor); self.prepare_page(address, is_write)? } Ok(frame) =>...

> For example, when the OSTD is still in the bootstrap stage? Or when the OSTD is within the interrupt context, but does not yet enter the atomic mode? In...