Improve the scalability for TLB flusher

This commit is contained in:
Zhang Junyang
2024-10-25 18:40:24 +08:00
committed by Tate, Hongliang Tian
parent 26a13df792
commit b3515c498a
2 changed files with 29 additions and 34 deletions

View File

@ -141,6 +141,7 @@ impl From<CpuId> for CpuSet {
///
/// It provides atomic operations for each CPU in the system. When the
/// operation contains multiple CPUs, the ordering is not guaranteed.
#[derive(Debug)]
pub struct AtomicCpuSet {
bits: SmallVec<[AtomicInnerPart; NR_PARTS_NO_ALLOC]>,
}