Commit Graph

1649 Commits

Author SHA1 Message Date
Fabing Li 7a08d9a660 Support other SigStackFlags 2024-11-06 15:00:01 +08:00
Fabing Li 561516df98 Export /proc/cpuinfo 2024-11-06 14:54:28 +08:00
Shaowei Song 16a319a8ea Adjust and align the qemu arguments of `virtio-blk-pci` 2024-11-06 11:00:43 +08:00
Shaowei Song aa52e3980e Minor fix on virtio-blk's config 2024-11-06 11:00:43 +08:00
Zhang Junyang b3515c498a Improve the scalability for TLB flusher 2024-11-06 10:57:18 +08:00
Shaowei Song 26a13df792 Add a test job for IOMMU in CI 2024-11-06 10:14:27 +08:00
Shaowei Song 32cf7a1e79 Fix the IOMMU enabling issue in the default EFI boot mode 2024-11-06 10:14:27 +08:00
Zhang Junyang a5b3a1d6dd Unify the qemu arguments generation 2024-11-05 19:39:05 +08:00
Hsy-Intel a0a8493f98 Add TDX compilation test 2024-11-05 14:57:03 +08:00
Qingsong Chen b3d30f7ac3 Fix pci config errors caused by expression precedence 2024-11-05 14:55:19 +08:00
Qingsong Chen 2c6cbee92f Fix the offset of PCI device class code 2024-11-05 14:55:19 +08:00
Champii1 4701eaf0cb Implementation of load average calculation and corresponding /proc entry
Moved everything into the kernel side. Add a SchedulerStats trait

Use 'fixed' to represent fixed-point numbers

Make the loadavg calculation lazy
2024-11-05 11:46:23 +08:00
Ruihan Li efd49a96e3 Rename `cond()` to `try_op()` 2024-11-03 16:54:05 +08:00
Hsy-Intel 50773de35f Fix a TDX minor issue 2024-11-02 10:17:01 +08:00
Ruihan Li 7ddfd42baa Make `wait_events` support timeout 2024-11-01 13:00:40 +08:00
Ruihan Li f21394c679 Use more `wait_events` 2024-11-01 13:00:40 +08:00
Ruihan Li bbfc2cd12d Make `FileIo` pollable 2024-11-01 13:00:40 +08:00
Chen Chengjun c7b3a596dd Disable IRQ during page allocation 2024-11-01 11:24:09 +08:00
Chen Chengjun 846b3ba169 Use LinkedList to store WorkItem to avoid additional heap allocation 2024-11-01 11:24:09 +08:00
Chen Chengjun 2ac6e0e126 Avoid adding worker during workqueue enqueueing 2024-11-01 11:24:09 +08:00
Ruihan Li 7e2e9cebf6 Perform more noncontroversial cleanups 2024-10-31 15:19:20 +08:00
Ruihan Li 9d5350c2ee Use better names and avoid duplication 2024-10-31 15:19:20 +08:00
Shaowei Song 96a153dfc5 Implement dummy `metadata()` for epoll and socket files 2024-10-30 14:09:02 +08:00
Fabing Li 3461bd5de6 Add more boundary checks for epoll_wait 2024-10-30 10:42:16 +08:00
Jianfeng Jiang dc06d7c37d Support TCP sockets HUP&RDHUP events 2024-10-28 22:47:50 +08:00
Jianfeng Jiang 00ffc5266d Add tcp poll test program 2024-10-28 22:47:50 +08:00
jellllly420 cff688e128 Drop the strong reference of Task before exiting 2024-10-28 19:22:17 +08:00
Yuke Peng f8bd71a1e7 Add Nginx benchmark CI 2024-10-28 18:57:41 +08:00
Yuke Peng 88939f2a4c Add Redis benchmark CI 2024-10-28 18:57:41 +08:00
Ruihan Li b5610f3034 Report `POLLNVAL` in `poll` for invalid FDs 2024-10-28 14:33:32 +08:00
Ruihan Li 390aa411bd Beautify the `poll()` system call 2024-10-28 14:33:32 +08:00
jellllly420 6ece48c095 Refactor process table 2024-10-28 13:00:13 +08:00
Hsy-Intel 91171c38ec Update TDX Docker image name in osdk guide 2024-10-28 10:23:45 +08:00
Ikko Eltociear Ashimine 6a33f7a6d0 docs: add Japanese README
I created Japanese translated README.
2024-10-27 09:54:24 +08:00
Jianfeng Jiang 7c3e3738a1 Enable tap mode network and vhost 2024-10-26 22:07:38 +08:00
Zhang Junyang 1b23182dcc Fix the thread status ordering by limiting the API 2024-10-26 22:06:41 +08:00
Zhang Junyang 55bf2c847c Update the Linux system call compatibility list 2024-10-26 22:06:41 +08:00
Zhang Junyang c38455f9f6 Add tests for system call `sched_get/set_affinity` 2024-10-26 22:06:41 +08:00
Zhang Junyang e319641b4d Implement system call `sched_get/set_affinity` 2024-10-26 22:06:41 +08:00
Zhang Junyang 3468ec213b Use `CpuId` with validity ensurance rather than `u32` 2024-10-26 22:06:41 +08:00
Zhang Junyang b400d287fa Remove `ostd::sync::AtomicBits` 2024-10-26 22:06:41 +08:00
Zhang Junyang 26c4abde58 Refactor `CpuSet` and introduce `AtomicCpuSet` 2024-10-26 22:06:41 +08:00
Chen Chengjun e60b5b7649 Refine mapping-related locks 2024-10-26 21:55:48 +08:00
Ruize Tang 968389f550 Fix lost wakeup in `range_lock` caused by waiting on an outdated waitqueue 2024-10-26 21:44:03 +08:00
Ruize Tang e5fd8e7477 Fix flock lost-wakeup bugs, replace RwMutex -> Mutex 2024-10-26 21:23:50 +08:00
Yuke Peng d977fe54c6 Fix wrong serde name in OSDK 2024-10-26 20:44:45 +08:00
ZephyrZhang 885e4315e3 fix a comment typo at kernel/src/syscall/mod.rs 2024-10-25 13:26:45 +08:00
Jianfeng Jiang fe339fd81e Bump version to 0.9.4 2024-10-24 21:00:14 +08:00
Jianfeng Jiang f320ac0166 Install several net-tools in docker 2024-10-24 21:00:14 +08:00
Fabing Li 9f188837ae Add /proc/[pid]/stat and /proc/[pid]/status 2024-10-24 19:17:20 +08:00