Home
last modified time | relevance | path

Searched refs:spinlock (Results 1 – 25 of 41) sorted by relevance

12

/DragonOS-0.1.7/docs/kernel/locking/
Dindex.rst11 spinlock
Dspinlock.md13   DragonOS在`kernel/src/lib/spinlock.rs`文件中,实现了自旋锁。根据功能特性的略微差异,分别提供了`RawSpinLock`和`SpinLoc…
24 `RawSpinLock`与C版本的`spinlock_t`不具有二进制兼容性。如果由于暂时的兼容性的需求,要操作C版本的`spinlock_t`,请使用`spinlock.rs`中提供的C版本的s…
Dlocks.md27   进程在获取自旋锁后,将改变pcb中的锁变量持有计数,从而隐式地禁止了抢占。为了获得更多灵活的操作,spinlock还提供了以下的方法:
Dlockref.md49   由于在高负载的情况下,系统会频繁的执行“锁定-改变引用变量-解锁”的操作,这期间很可能出现spinlock和引用计数跨缓存行的情况,这将会大大降低性能。lockref通过强制…
51 …于未支持的体系结构)或者尝试超时后,将会退化成“锁定-改变引用变量-解锁”的操作。此时由于lockref强制对齐,只涉及到1个缓存行,因此性能比原先的spinlock+ref_count的模式要高。
/DragonOS-0.1.7/kernel/src/libs/
Dmod.rs13 pub mod spinlock; module
Dmutex.rs13 libs::spinlock::SpinLockGuard,
17 use super::spinlock::SpinLock;
Dlazy_init.rs25 use super::spinlock::SpinLock;
Dwait_queue.rs16 spinlock::{SpinLock, SpinLockGuard},
Dlockref.rs2 use super::spinlock::RawSpinlock;
/DragonOS-0.1.7/kernel/src/driver/net/
Dmod.rs7 use crate::{libs::spinlock::SpinLock, syscall::SystemError};
/DragonOS-0.1.7/docs/community/ChangeLog/V0.1.x/
DV0.1.7.md52 - spinlock: 修复spinlock忘记恢复rflags的问题 (#247)
200 1.修复spinlock忘记恢复rflags的问题
DV0.1.2.md267 * spinlock增加 spinlock irq spin_unlock_irq
DV0.1.1.md207 * 解决由于spinlock.h中包含preempt_enable()带来的循环include问题
254 * 解决由于spinlock.h中包含preempt_enable()带来的循环include问题
DV0.1.0.md107 - spinlock 自旋锁
/DragonOS-0.1.7/kernel/src/driver/base/device/
Ddriver.rs2 use crate::{filesystem::vfs::IndexNode, libs::spinlock::SpinLock, syscall::SystemError};
Dmod.rs11 libs::spinlock::SpinLock,
Dbus.rs14 libs::spinlock::SpinLock,
/DragonOS-0.1.7/docs/introduction/
Dfeatures.md40 - [x] spinlock自旋锁
/DragonOS-0.1.7/kernel/src/filesystem/devfs/
Dnull_dev.rs6 use crate::{libs::spinlock::SpinLock, syscall::SystemError, time::TimeSpec};
Dzero_dev.rs6 use crate::{libs::spinlock::SpinLock, syscall::SystemError, time::TimeSpec};
/DragonOS-0.1.7/kernel/src/driver/disk/ahci/
Dahci_inode.rs9 use crate::{libs::spinlock::SpinLock, time::TimeSpec};
/DragonOS-0.1.7/kernel/src/process/
Dfork.rs18 spinlock::{spin_lock_irqsave, spin_unlock_irqrestore},
/DragonOS-0.1.7/kernel/src/sched/
Drt.rs11 libs::spinlock::RawSpinlock,
Dcfs.rs11 libs::{rbtree::RBTree, spinlock::RawSpinlock},
/DragonOS-0.1.7/kernel/src/driver/keyboard/
Dps2_keyboard.rs12 libs::{keyboard_parser::TypeOneFSM, rwlock::RwLock, spinlock::SpinLock},

12