首页> 外国专利> Monitoring of shared-resource locks in a multi-processor system with locked-resource bits packed into registers to detect starved threads

Monitoring of shared-resource locks in a multi-processor system with locked-resource bits packed into registers to detect starved threads

机译:监视多处理器系统中的共享资源锁,将锁定资源位打包到寄存器中以检测饥饿的线程

摘要

A resource-lock monitor detects when processors in a multi-processor system are stuck waiting for access to a shared resource. A lock-monitor register has a lock bit and a sticky-lock bit for each processor being monitored. The lock and the sticky-lock bits are both set when the processor executes a lock instruction that also sends a lock-request to a resource arbiter. The lock bit is cleared when the resource arbiter grants access to the processor, but the sticky-lock bit remains set until sticky-lock bits are cleared by monitoring software at the end of a monitoring period. At the end of each monitoring period, monitoring software reads the lock and sticky-lock bits and finds a locked processor when a processor's lock bit is still set, but its sticky-lock bit is cleared. When the locked processor remains locked at the end of another monitoring period, an error handler resets the locked processor.
机译:资源锁定监视器检测多处理器系统中的处理器何时卡住以等待访问共享资源。锁定监视器寄存器具有一个被监视的每个处理器的锁定位和一个粘滞锁定位。当处理器执行锁定指令时,锁定位和粘滞锁定位都置位,该指令还将锁定请求发送到资源仲裁器。当资源仲裁程序授予对处理器的访问权限时,锁定位将被清除,但是粘性锁定位将保持置位状态,直到在监视周期结束时监控软件将粘性锁定位清除为止。在每个监视周期结束时,监视软件将读取锁定和粘滞锁定位,并在处理器的锁定位仍被设置但其粘滞锁定位被清除时找到被锁定的处理器。当锁定的处理器在另一个监视周期结束时仍保持锁定状态时,错误处理程序将重置锁定的处理器。

著录项

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号