BUPT-OS / RROS

RROS is a dual-kernel OS for satellites or other scenarios that need both real-time and general-purpose abilities. RROS = RTOS (Rust) + Linux (C).

Home Page:https://bupt-os.github.io/website/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Spinlock bug in poll.rs

yexuanyang opened this issue · comments

RROS/kernel/rros/poll.rs

Lines 379 to 382 in 8368c16

flags = head.watchpoints.irq_lock_noguard();
list_for_each_entry!(
poco,
head.watchpoints.lock().deref(),

Try to acquire spinlock when spinlock is already locked.

Fixed.