Searched refs:spinlock (Results 1 – 25 of 52) sorted by relevance
123
/DragonOS-0.1.8/docs/kernel/locking/ |
D | index.rst | 11 spinlock
|
D | spinlock.md | 13   DragonOS在`kernel/src/lib/spinlock.rs`文件中,实现了自旋锁。根据功能特性的略微差异,分别提供了`RawSpinLock`和`SpinLoc… 24 `RawSpinLock`与C版本的`spinlock_t`不具有二进制兼容性。如果由于暂时的兼容性的需求,要操作C版本的`spinlock_t`,请使用`spinlock.rs`中提供的C版本的s…
|
D | locks.md | 27   进程在获取自旋锁后,将改变pcb中的锁变量持有计数,从而隐式地禁止了抢占。为了获得更多灵活的操作,spinlock还提供了以下的方法:
|
D | lockref.md | 49   由于在高负载的情况下,系统会频繁的执行“锁定-改变引用变量-解锁”的操作,这期间很可能出现spinlock和引用计数跨缓存行的情况,这将会大大降低性能。lockref通过强制… 51 …于未支持的体系结构)或者尝试超时后,将会退化成“锁定-改变引用变量-解锁”的操作。此时由于lockref强制对齐,只涉及到1个缓存行,因此性能比原先的spinlock+ref_count的模式要高。
|
/DragonOS-0.1.8/kernel/src/libs/ |
D | mod.rs | 19 pub mod spinlock; module
|
D | mutex.rs | 13 libs::spinlock::SpinLockGuard, 17 use super::spinlock::SpinLock;
|
D | lazy_init.rs | 25 use super::spinlock::SpinLock;
|
D | wait_queue.rs | 16 spinlock::{SpinLock, SpinLockGuard},
|
D | notifier.rs | 4 libs::{rwlock::RwLock, spinlock::SpinLock},
|
/DragonOS-0.1.8/kernel/src/driver/net/ |
D | mod.rs | 7 use crate::{libs::spinlock::SpinLock, syscall::SystemError};
|
/DragonOS-0.1.8/docs/community/ChangeLog/V0.1.x/ |
D | V0.1.8.md | 62 - 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功能.
|
D | V0.1.7.md | 52 - spinlock: 修复spinlock忘记恢复rflags的问题 (#247) 200 1.修复spinlock忘记恢复rflags的问题
|
D | V0.1.2.md | 267 * spinlock增加 spinlock irq spin_unlock_irq
|
D | V0.1.1.md | 207 * 解决由于spinlock.h中包含preempt_enable()带来的循环include问题 254 * 解决由于spinlock.h中包含preempt_enable()带来的循环include问题
|
/DragonOS-0.1.8/kernel/src/driver/base/map/ |
D | mod.rs | 2 use crate::libs::spinlock::SpinLock;
|
/DragonOS-0.1.8/kernel/src/driver/base/device/ |
D | driver.rs | 2 use crate::{filesystem::vfs::IndexNode, libs::spinlock::SpinLock, syscall::SystemError};
|
D | bus.rs | 14 libs::spinlock::SpinLock,
|
/DragonOS-0.1.8/kernel/src/time/ |
D | jiffies.rs | 6 use crate::{kerror, kinfo, libs::spinlock::SpinLock, syscall::SystemError};
|
/DragonOS-0.1.8/docs/introduction/ |
D | features.md | 45 - [x] spinlock自旋锁
|
/DragonOS-0.1.8/kernel/src/filesystem/devfs/ |
D | null_dev.rs | 6 use crate::{libs::spinlock::SpinLock, syscall::SystemError, time::TimeSpec};
|
D | zero_dev.rs | 6 use crate::{libs::spinlock::SpinLock, syscall::SystemError, time::TimeSpec};
|
/DragonOS-0.1.8/kernel/src/driver/disk/ahci/ |
D | ahci_inode.rs | 9 use crate::{libs::spinlock::SpinLock, time::TimeSpec};
|
/DragonOS-0.1.8/kernel/src/mm/ |
D | c_adapter.rs | 12 libs::{align::page_align_up, spinlock::SpinLock},
|
/DragonOS-0.1.8/kernel/src/process/ |
D | fork.rs | 18 spinlock::{spin_lock_irqsave, spin_unlock_irqrestore},
|
/DragonOS-0.1.8/kernel/src/sched/ |
D | rt.rs | 11 libs::spinlock::RawSpinlock,
|
123