Multiprocessor MMIO Tracing via Memory Protection and a Shadow Page Table

  • Kim, Myoungjae
  • Yoon, Hyunmin
  • Choi, Minkwan
  • Majeed, Shakaiba
  • Ryu, Minsoo

초록

Memory-mapped I/O (MMIO) tracing provides an effective means for analyzing and debugging I/O related functions since it allows us to observe and track the interplay between processors and I/O devices [1]. However, existing MMIO tracing techniques have a serious drawback in multicore systems. Current MMIO techniques commonly use a memory protection mechanism to detect access to an MMIO address area under consideration. Unfortunately, this approach may miss some I/O events and even lead to a data race condition due to inappropriate management of concurrent accesses to the MMIO address area. In this paper, we describe a novel MMIO tracing approach introducing the notion of shadow page table. We use a shadow page table to allow only one processor to have access to a MMIO address area while forbidding other processors’ access to the same MMIO address area. We show how the shadow page table approach can be efficiently implemented on a multiprocessor platform with dual core ARM Cortex A15 CPU.

키워드

Memory Mapped I/O (MMIO) TraceMemory ProtectionPage FaultShadow Page Table.
제목
Multiprocessor MMIO Tracing via Memory Protection and a Shadow Page Table
저자
Kim, MyoungjaeYoon, HyunminChoi, MinkwanMajeed, ShakaibaRyu, Minsoo
발행일
2015-07
유형
Proceeding
저널명
International Conference on Foundations of Computer Science
페이지
16 ~ 18