Ruihan Li
Ruihan Li
Hi smoltcp maintainers, thanks for your great work! I've been experiencing extremely low performance (< 1Gbps) for two TCP sockets connected via the loopback device (PoC attached at the end...
A UNIX socket can be bound to a socket file or to an abstract name. Previously, the functions for managing socket files were spread across several unrelated files, which is...
### Description [iperf3](https://github.com/esnet/iperf) should be added as a benchmark to measure our network performance. Steps to run: ```sh /benchmark/bin/iperf3 -B 127.0.0.1 -s & /benchmark/bin/iperf3 -c 127.0.0.1 ``` ### Current Status...
### Describe the bug Currently we use `to_string_lossy` to convert the file path from C strings to Rust strings: All `to_string_lossy` users ``` > find kernel/aster-nix -name "*.rs" -type f...
## Configurations Version: nginx-1.26.1 Building Configuration For simplifity, I disable everything but `http` and `http_autoindex_module` (_no_ `--without-http` and `--without-http_autoindex_module` in the following command line) and build a static binary: ```...
### Summary This RFC proposes to make our `Pollee` stateless. ### Context and Problem Statement We currently maintain the I/O events in the `Pollee`. However, the `Pollee` itself does not...
### Summary This RFC proposes to remove the `register_observer` and `unregister_observer` methods from the `FileLike` trait. ### Context and Problem Statement We currently have three methods related to the `Pollee`...
Emiting `vptr`s for empty/auto traits is unnecessary (#114942) and causes unsoundness in `trait_upcasting` (#131813). This PR should ensure that we never emit vtables for such traits. See the linked issues...
The following program will trigger a segmentation fault. ([playground link](https://play.rust-lang.org/?version=nightly&mode=debug&edition=2021&gist=1db545c4ea5195794c90d05e2fb45698)) ```rust #![feature(trait_upcasting)] trait Pollable { #[allow(unused)] fn poll(&self) {} } trait FileIo: Pollable + Send + Sync { fn read(&self)...
This is a simple cleanup PR that splits the large `do_poll` method into several smaller methods. Only for code beauty and readability, no functionality or performance changes expected.