多核操作系统自旋锁技术研究  被引量:4

Research on Spin Lock of Multi-processor Operating System

在线阅读下载全文

作  者:虞保忠[1] 郝继锋[1] 

机构地区:[1]航空工业西安航空计算技术研究所,陕西西安710068

出  处:《航空计算技术》2017年第4期115-117,共3页Aeronautical Computing Technique

基  金:总装装备部预研联合基金项目资助(6141B05060403);天脉系列操作系统技术开发与产业化推广(G887A0415003-3)

摘  要:多核操作系统通常采用自旋锁技术保证多核之间互斥。处理器核属于硬件设备,需要硬件锁机制实现核间互斥,各类处理器都提供相应的硬件指令实现自旋锁,如锁总线。处理器核在获取自旋不成功时,一直自旋,直到获取锁成功。自旋锁持有时间非常短,不引起睡眠,效率很高。The spin lock is used on multi - processor operating system for mutex between processors. The processor is hardware device,the mutex between devices needs hardware support. As known,most proces-sor provide some instructions for the implement of spin lock, such as bus lock. The processor will loop check the lock state until the lock free when the lock is held by other processor. As the duration of hold spin lock is very short and the caller will not be blocked,so the spin lock is very effective.

关 键 词:多核 操作系统 互斥 自旋锁 确定性 

分 类 号:TP316[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象