Shaowei Song
Shaowei Song
Based on https://github.com/asterinas/asterinas/pull/1153
### Problem or Need More and more typo issues may be encountered while we pushed and pushed. And reading typos at the first time we met someone's code can be...
### Feature Description The feature involves implementing the **correct saving and restoring of floating-point registers** (`FpRegs` in https://github.com/asterinas/asterinas/blob/main/ostd/src/arch/x86/cpu.rs) across various critical points in Asterinas kernel. This functionality is essential for...
### Description Currently all the io APIs in the vfs layer is equipped with `VmReader`/`VmWriter`, which can benefit us from interacting buffers from the user space directly without any redundant...
### Motivation Currently from the internal of our [pipe](https://man7.org/linux/man-pages/man2/pipe.2.html), we utilize an SPSC FIFO ring buffer of crate [ringbuf](https://crates.io/crates/ringbuf), which is a third-party one. Now the APIs of vfs layer...
### Background Upon benchmarking the [lmbench-lat_fs](https://manpages.ubuntu.com/manpages/trusty/lat_fs.8.html), which measures file system create/delete performance, I found considerable memory deallocation overhead in file unlink. Here is a generated flame graph through `/benchmark/bin/lmbench/lat_fs -s...
This PR introduces `BioSegmentPool` for pooling segments for block I/O requests. The pooled `BioSegment`s can both server the upstream to create BIOs, read/write; and serve the downstream to feed DMA...
Background: https://github.com/asterinas/asterinas/issues/1511