首页> 外文会议>Advances in Computer Systems Architecture >Legba: Fast Hardware Support for Fine-Grained Protection
【24h】

Legba: Fast Hardware Support for Fine-Grained Protection

机译:Legba:细粒度保护的快速硬件支持

获取原文
获取原文并翻译 | 示例

摘要

Fine-grained hardware protection, if it can be done without slowing down the processor, could deliver significant benefits to software, enabling the implementation of strongly encapsulated light-weight objects. In this paper we introduce Legba, a new caching architecture that aims at supporting fine-grained memory protection and protected procedure calls without slowing down the processor's clock speed. This is achieved by separating translation from protection, which allows the use of virtually-addressed caches and moving the TLB off-core. Protection is implemented in two stages. We add protection information in the form of an object ID to each cache line. This object ID is combined with a per-protection context identifier, and the result is used to index into a protection cache, which delivers the access rights. As no range check is required on the protection cache, it can be set-associative, allowing it to be made large, fast and low-power, compared to a fully associative TLB. On a cache miss, the object ID is retrieved in parallel to the cache line fetch, performing the protection range check off-core. A new switch permission enables Legba to implement protected procedure calls, where the new context identifier is taken from the instruction cache line's object ID. This mechanism is similar to call gates but more flexible. The paper compares Legba with approaches based on the idea of a protection look-aside buffer, in particular with respect to coverage.
机译:如果可以在不降低处理器速度的情况下进行细粒度的硬件保护,则可以为软件带来巨大的好处,从而可以实现高度封装的轻量级对象。在本文中,我们介绍了Legba,它是一种新的缓存体系结构,旨在支持细粒度的内存保护和受保护的过程调用,而不会降低处理器的时钟速度。这是通过将转换与保护分开来实现的,它允许使用虚拟寻址的高速缓存并将TLB移出内核。保护分两个阶段实施。我们以对象ID的形式向每条高速缓存行添加保护信息。该对象ID与每个保护上下文标识符结合在一起,结果用于索引到保护缓存中,该缓存提供访问权限。由于不需要对保护高速缓存进行范围检查,因此与完全关联的TLB相比,它可以设置为关联的,从而使其具有更大,更快和更低的功耗。在发生高速缓存未命中时,将与高速缓存行提取并行检索对象ID,以在内核外执行保护范围检查。新的切换权限使Legba能够实现受保护的过程调用,其中新的上下文标识符从指令高速缓存行的对象ID中获取。此机制类似于呼叫门,但更灵活。本文将Legba与基于保护后备缓冲区(特别是在覆盖范围方面)的思想的方法进行了比较。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号