Commit Graph

1676 Commits

Author SHA1 Message Date
3461bd5de6 Add more boundary checks for epoll_wait 2024-10-30 10:42:16 +08:00
dc06d7c37d Support TCP sockets HUP&RDHUP events 2024-10-28 22:47:50 +08:00
00ffc5266d Add tcp poll test program 2024-10-28 22:47:50 +08:00
cff688e128 Drop the strong reference of Task before exiting 2024-10-28 19:22:17 +08:00
f8bd71a1e7 Add Nginx benchmark CI 2024-10-28 18:57:41 +08:00
88939f2a4c Add Redis benchmark CI 2024-10-28 18:57:41 +08:00
b5610f3034 Report POLLNVAL in poll for invalid FDs 2024-10-28 14:33:32 +08:00
390aa411bd Beautify the poll() system call 2024-10-28 14:33:32 +08:00
6ece48c095 Refactor process table 2024-10-28 13:00:13 +08:00
91171c38ec Update TDX Docker image name in osdk guide 2024-10-28 10:23:45 +08:00
6a33f7a6d0 docs: add Japanese README
I created Japanese translated README.
2024-10-27 09:54:24 +08:00
7c3e3738a1 Enable tap mode network and vhost 2024-10-26 22:07:38 +08:00
1b23182dcc Fix the thread status ordering by limiting the API 2024-10-26 22:06:41 +08:00
55bf2c847c Update the Linux system call compatibility list 2024-10-26 22:06:41 +08:00
c38455f9f6 Add tests for system call sched_get/set_affinity 2024-10-26 22:06:41 +08:00
e319641b4d Implement system call sched_get/set_affinity 2024-10-26 22:06:41 +08:00
3468ec213b Use CpuId with validity ensurance rather than u32 2024-10-26 22:06:41 +08:00
b400d287fa Remove ostd::sync::AtomicBits 2024-10-26 22:06:41 +08:00
26c4abde58 Refactor CpuSet and introduce AtomicCpuSet 2024-10-26 22:06:41 +08:00
e60b5b7649 Refine mapping-related locks 2024-10-26 21:55:48 +08:00
968389f550 Fix lost wakeup in range_lock caused by waiting on an outdated waitqueue 2024-10-26 21:44:03 +08:00
e5fd8e7477 Fix flock lost-wakeup bugs, replace RwMutex -> Mutex 2024-10-26 21:23:50 +08:00
d977fe54c6 Fix wrong serde name in OSDK 2024-10-26 20:44:45 +08:00
885e4315e3 fix a comment typo at kernel/src/syscall/mod.rs 2024-10-25 13:26:45 +08:00
fe339fd81e Bump version to 0.9.4 v0.9.4 2024-10-24 21:00:14 +08:00
f320ac0166 Install several net-tools in docker 2024-10-24 21:00:14 +08:00
9f188837ae Add /proc/[pid]/stat and /proc/[pid]/status 2024-10-24 19:17:20 +08:00
da5e7a21cb Avoid potential deadlock in iommu remapping 2024-10-24 19:14:58 +08:00
601040f2fa Manage S-waiting-on-author and S-waiting-on-review automatically 2024-10-24 19:12:04 +08:00
fe8e451c4f Use read-write lock for the irq callback list 2024-10-24 15:18:26 +08:00
4658b62f90 Treat thread oops with better care to avoid silent panics 2024-10-22 10:08:24 +08:00
b7d101b98c Fix MMIO read issue 2024-10-21 17:49:56 +08:00
998869d57e Refactor kernel virtual memory allocation for kernel stack and I/O memory 2024-10-21 09:53:05 +08:00
29eb37c07c Introduce kernel virtual memory allocation for kernel stack 2024-10-21 09:53:05 +08:00
03906513aa Clear one bit instead 2024-10-21 09:43:43 +08:00
418fb10d6e Supplement ioctl() gVisor test 2024-10-21 09:43:43 +08:00
89d04ecf7d Implement ioctl() FIOCLEX command 2024-10-21 09:43:43 +08:00
4823b82e41 Catch panics in threads as oops 2024-10-20 13:24:58 +08:00
709e99d75a Make task functions FnOnce 2024-10-20 13:24:58 +08:00
a716763772 Remove the linkage feature usage for ostd::main 2024-10-20 13:24:58 +08:00
131a25c15c Provide the way to override the panic handler. 2024-10-20 13:24:58 +08:00
3c857d746e Clear TID before doing futex_wake when exiting a POSIX thread 2024-10-20 13:21:27 +08:00
b8eff00fb7 Remove the additional IRQ disable during EOI 2024-10-20 13:14:47 +08:00
a43b0b6a52 Fix compile error in riscv64 2024-10-20 13:02:41 +08:00
2f511069ee Move SoftIRQ implementations to softirq component 2024-10-18 09:35:40 +08:00
54a807b5f7 Modify asterinas/kernel/src/process/posix_thread/mod.rs 2024-10-18 09:31:25 +08:00
09204600c0 Change visibility of benchmarks 2024-10-17 15:02:52 +08:00
a566e25803 Set tcp benchmarks' backlog as 1 2024-10-17 14:52:58 +08:00
1fe0a138f9 PROT_WRITE implies PROT_READ on x86 2024-10-17 08:56:47 +08:00
6757b39c13 Adjust the order publishing the bzImage crates 2024-10-16 11:52:53 +08:00