Commit Graph

1676 Commits

Author SHA1 Message Date
ed82c11dd3 Use a SpinLock for the thread table instead of Mutex 2024-08-27 17:22:47 +08:00
aeba7bec52 Fix SoftIRQ initialization requirements for SMP 2024-08-27 17:22:47 +08:00
d499c1592d Add ldconfig to initramfs 2024-08-27 17:21:28 +08:00
86f09eef75 Fix all spelling mistakes in history by typos tool 2024-08-27 12:19:48 +08:00
b29d3b5409 Implement a typo checker 2024-08-27 12:19:48 +08:00
9e59db2f42 Make benchmark CI more fair 2024-08-26 20:27:13 +08:00
aa77747f94 Make mprotect&munmap return fast when len is zero 2024-08-26 12:06:31 +08:00
212440dbb1 Fix: mmap len cannot be zero 2024-08-26 12:06:31 +08:00
32a1a53ee7 Enable check of atomic mode 2024-08-26 10:23:25 +08:00
4231645c02 Fix is_tdx_enabled in OSDK tests 2024-08-25 20:42:04 +08:00
d809a26a2f Update OSDK testing behaviors in the Makefile and the CI 2024-08-25 20:42:04 +08:00
d91573248c Fix local development version OSDK's out-tree behavior 2024-08-25 20:42:04 +08:00
54cbacb2ff Replace the CpuLocal's borrow* APIs with get_with 2024-08-25 20:14:06 +08:00
f7a9510be0 Refactor the this_cpu API with PinCurrentCpu 2024-08-25 20:14:06 +08:00
9a94ba23aa Replace the Deref implementation of CpuLocal with get_on_cpu 2024-08-25 20:14:06 +08:00
3cac1b2a03 Use AtomicU32 to read/write latest modified pid 2024-08-25 20:13:05 +08:00
ccdf2dc54f Drop the MutexGuard of semaphore earlier 2024-08-25 20:13:05 +08:00
547e6430ee Pass the reference of sem_buf to semop 2024-08-25 20:13:05 +08:00
83a4366a72 Remove check_sem in semop 2024-08-25 20:13:05 +08:00
4b1f2f720e Avoid using current in semop 2024-08-25 20:13:05 +08:00
090b5a1c1d Dsiable mitigations for CPU vulnerabilities in Linux 2024-08-25 20:12:14 +08:00
6bde87d33a Fix a bug of InitStack during doing fork+exec 2024-08-25 15:14:11 +08:00
d22277a3e6 Allow manually dispatching publishing workflows 2024-08-24 22:18:22 +08:00
1e24911198 Upgrade the version of bytemuck since it's yanked 2024-08-24 17:18:24 +08:00
34b3aac2e3 Bump and publish ostd-test and ostd-macros 2024-08-24 17:18:24 +08:00
e50b05d1ee Bump version to 0.8.0 v0.8.0 2024-08-23 23:37:50 +08:00
dafd16075f Remove the shim kernel crate 2024-08-23 23:37:50 +08:00
d76c7a5b1e OSDK check and clippy with cfg(ktest) 2024-08-23 23:37:50 +08:00
be3492d7f0 Extract the OSTD test runner as a kernel 2024-08-23 23:37:50 +08:00
cad36ecdab Don't inherit OSDK manifest values from workspace root 2024-08-23 23:37:50 +08:00
c2a8342752 Add lmbench fifo latency test 2024-08-23 19:56:36 +08:00
715733f551 Implement dummy NamedPipe 2024-08-23 19:56:36 +08:00
ea64ddfde5 Change the API of mknod 2024-08-23 19:56:36 +08:00
95f67b3d67 Remove duplicate FileType enumerate 2024-08-23 19:56:36 +08:00
30726ad880 Add lmbench unix connect latency test 2024-08-23 19:55:25 +08:00
069cd7932b Block when incoming_conns reaches backlog 2024-08-23 19:55:25 +08:00
e555d8c616 Set the access bit when mapping a frame to the page table in userspace 2024-08-23 19:52:48 +08:00
2d6da11d92 Add comments about two polling loops 2024-08-23 19:27:12 +08:00
42f70fd779 Fix reachable unwrap panic in check_sem() 2024-08-23 19:24:17 +08:00
a039b58f8b Correct lmdd result_index 2024-08-23 11:44:24 +08:00
bb4751741a Bump smoltcp to newest git version 2024-08-22 22:58:36 +08:00
7db9ae23a3 Make the kernel stack size configurable 2024-08-22 22:56:16 +08:00
dce796cdde Refactor all io APIs of vfs based on VmReader/VmWriter 2024-08-22 22:54:30 +08:00
837c7bebb6 Add lmbench lmdd test 2024-08-22 12:51:42 +08:00
e7105bb580 Prevent race condition in heap allocator 2024-08-22 12:47:34 +08:00
ef9e600c9d Fix panic in sys_waitid() by options 2024-08-22 09:56:10 +08:00
ec7391468c Fix panic in from_which_and_id() 2024-08-22 09:56:10 +08:00
1833f8047e Modify Dockerfile and bump the version file v0.7.0 2024-08-22 09:55:19 +08:00
90688286aa Improve readability 2024-08-22 09:50:47 +08:00
95aaef9aa1 Check the length of timers before delete 2024-08-22 09:50:47 +08:00