Home
last modified time | relevance | path

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

123

/DragonOS-0.1.8/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.8/kernel/src/libs/
Dmod.rs19 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},
Dnotifier.rs4 libs::{rwlock::RwLock, spinlock::SpinLock},
/DragonOS-0.1.8/kernel/src/driver/net/
Dmod.rs7 use crate::{libs::spinlock::SpinLock, syscall::SystemError};
/DragonOS-0.1.8/docs/community/ChangeLog/V0.1.x/
DV0.1.8.md62 - feature: spinlock守卫新增leak,spinlock新增force unlock功能.(#329)
177 … 修正rwlock有的地方由于未使用ManuallyDrop导致的use after free && spinlock守卫新增leak,spinlock新增force unlock功能.(#329)
180 2. spinlock守卫新增leak,spinlock新增force unlock功能.
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问题
/DragonOS-0.1.8/kernel/src/driver/base/map/
Dmod.rs2 use crate::libs::spinlock::SpinLock;
/DragonOS-0.1.8/kernel/src/driver/base/device/
Ddriver.rs2 use crate::{filesystem::vfs::IndexNode, libs::spinlock::SpinLock, syscall::SystemError};
Dbus.rs14 libs::spinlock::SpinLock,
/DragonOS-0.1.8/kernel/src/time/
Djiffies.rs6 use crate::{kerror, kinfo, libs::spinlock::SpinLock, syscall::SystemError};
/DragonOS-0.1.8/docs/introduction/
Dfeatures.md45 - [x] spinlock自旋锁
/DragonOS-0.1.8/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.8/kernel/src/driver/disk/ahci/
Dahci_inode.rs9 use crate::{libs::spinlock::SpinLock, time::TimeSpec};
/DragonOS-0.1.8/kernel/src/mm/
Dc_adapter.rs12 libs::{align::page_align_up, spinlock::SpinLock},
/DragonOS-0.1.8/kernel/src/process/
Dfork.rs18 spinlock::{spin_lock_irqsave, spin_unlock_irqrestore},
/DragonOS-0.1.8/kernel/src/sched/
Drt.rs11 libs::spinlock::RawSpinlock,

123