Commit Graph

1679 Commits

Author SHA1 Message Date
Zhang Junyang 1f612e45f7 Remove unnecessary page table items 2024-11-09 20:32:48 +08:00
Zhang Junyang b2b00bdfd2 Lock-free cursor creation 2024-11-09 20:32:48 +08:00
Ruihan Li 0ef55a396f Add a note about the FIXME 2024-11-09 17:09:41 +08:00
Ruihan Li 0c114e911b Revert "Make `pause_timeout` return `EINTR`"
This reverts commit 6421fd0b36.
2024-11-09 17:09:41 +08:00
Yuke Peng 12aa9fc857 Refactor the document of IOMMU functions 2024-11-09 10:42:46 +08:00
Yuke Peng c2626da757 Rename some IOMMU functions 2024-11-09 10:42:46 +08:00
Yuke Peng 65a95cf6b7 Support Interrupt Remapping in IOMMU 2024-11-09 10:42:46 +08:00
Yuke Peng 99fdd49076 Support Queue Invalidation in IOMMU 2024-11-09 10:42:46 +08:00
Shaowei Song c7404f8139 Add several FIO tests to the benchmark CI 2024-11-09 10:38:50 +08:00
Shaowei Song 31ebcbf264 Support specifying `SCHEME` in the benchmark 2024-11-09 10:38:50 +08:00
Shaowei Song 012dacab93 Ensure only numeric values are extracted from the benchmark results 2024-11-09 10:38:50 +08:00
Ruihan Li 6421fd0b36 Make `pause_timeout` return `EINTR` 2024-11-09 10:25:24 +08:00
Ruihan Li b563fb639f Revise documentations 2024-11-09 10:25:24 +08:00
Ruihan Li 32b8e05cc3 Make `*_or_timeout` APIs concise 2024-11-09 10:25:24 +08:00
ZephyrZhang 10cc85d588 Add syscall `getpgid` 2024-11-09 10:20:57 +08:00
Marsman1996 f287110001 Fix `InitStackReader` to access given stack instead of current task 2024-11-09 10:06:45 +08:00
Fabing Li 3ad1ea4d66 Fix the title of ext2 and ramfs benchmark 2024-11-08 11:24:15 +08:00
jiangjianfeng 4c80367bc8 Fix CI lint error 2024-11-08 10:53:30 +08:00
Ruihan Li 827c15aa03 Add self-connecting regression tests 2024-11-08 10:49:02 +08:00
Ruihan Li 9707b46c7f Bump smoltcp version 2024-11-08 10:49:02 +08:00
Zhang Junyang 25a918d132 Print who and on which CPU the kernel panics 2024-11-07 16:39:47 +08:00
Jianfeng Jiang c1fd09fd41 Remove TimeWait socket if a new Syn is received 2024-11-07 14:21:52 +08:00
Qingsong Chen 438dad888e Fix the range of IoMem's reader/writer 2024-11-07 14:18:33 +08:00
Ruihan Li 5233827160 Don't preempt without good reason 2024-11-06 21:53:55 +08:00
Ruihan Li 19b13d88e2 Fix `clone_exit_signal` test 2024-11-06 21:53:55 +08:00
Ruihan Li 768b182aba Make the code a bit cleaner 2024-11-06 21:53:55 +08:00
Fabing Li 1fe74c9c92 Add sys_getrlimit and sys_setrlimit 2024-11-06 21:53:31 +08:00
Zhang Junyang c34706603a Special treat VM Space clearing 2024-11-06 21:52:53 +08:00
Cautreoxit fda05e9e23 Correct a small syntax error 2024-11-06 21:30:50 +08:00
Ruize Tang bebfc360da Fix lost-wakeup in RwMutexUpgradeableGuard_.drop() 2024-11-06 21:30:14 +08:00
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