How prompt is x86 at setting the page dirty bit?

后端 未结 3 1389
一生所求
一生所求 2021-02-07 02:16

From a software point of view, what is the latency between an instruction that dirties a memory page and when the core actually marks the page dirty in the Page Table Entry (PTE

3条回答
  •  执笔经年
    2021-02-07 02:38

    AMD64 Architecture Programmer’s Manual Volume 2: System Programming (revision 3.22, Sept. 2012)

    In general, Dirty bit updates are ordered with respect to other loads and stores, although not necessarily with respect to accesses to WC memory; in particular, they may not cause WC buffers to be flushed. However, to ensure compatibility with future processors, a serializing operation should be inserted before reading the D bit.

    (Emphasis mine.)

提交回复
热议问题