Can the dirtiness of pages of a mmap be found from userspace?

前端 未结 5 534
感动是毒
感动是毒 2020-12-15 07:36

Can dirtiness of pages of a (non-shared) mmap be accessed from userspace under linux 2.6.30+? Platform-specific hacks and kludges welcome.

Ideally, I\'m looking for

5条回答
  •  余生分开走
    2020-12-15 08:22

    If your array of bits is small enough, perhaps you can use the debug registers on Intel (though I am not sure on how it is done on linux).

提交回复
热议问题