hujun5
hujun5
## Summary In the kernel, we are planning to remove all occurrences of up_cpu_pause as one of the steps to simplify the implementation of critical sections. The goal is to...
## Summary In the kernel, we are planning to remove all occurrences of up_cpu_pause as one of the steps to simplify the implementation of critical sections. The goal is to...
## Summary In the kernel, we are planning to remove all occurrences of up_cpu_pause as one of the steps to simplify the implementation of critical sections. The goal is to...
## Summary 1 To improve efficiency, we mimic Linux's behavior where preemption disabling is only applicable to the current CPU and does not affect other CPUs. 2 In the future,...
## Summary We can utilize percpu storage to hold information about the current running task. If we intend to implement this feature, we would need to define two macros that...
## Summary fix smp boot not enter idle Configuring NuttX and compile: $ ./tools/configure.sh -l qemu-armv8a:nsh_smp $ make Running with qemu $ qemu-system-aarch64 -cpu cortex-a53 -smp 4 -nographic \ -machine...
## Summary 1. Since memory allocation operations are all non-blocking, we can replace mutex with spinlock. 2. Spinlock is significantly faster than mutex, improving the real-time capability and performance of...
## Summary add a reference count to the TCB to prevent it from being deleted. To replace the large lock with smaller ones and reduce the large locks related to...
## Summary sched/task: remove the check for whether tcb is NULL We should not call these functions before nx_start; therefore, this_task will not be empty. If these functions are called...
## Summary add a reference count to the TCB to prevent it from being deleted. To replace the large lock with smaller ones and reduce the large locks related to...