Re: [PATCH 20/35] mm: Update can_follow_write_pte() for shadow stack

From: Dave Hansen
Date: Wed Feb 09 2022 - 17:52:20 EST


On 1/30/22 13:18, Rick Edgecombe wrote:
> Like a writable data page, a shadow stack page is writable, and becomes
> read-only during copy-on-write, but it is always dirty.

One other thing...

The language in these changelogs is a bit sloppy. For instance, what
does "always dirty" mean here? pte_dirty()? Or strictly _PAGE_DIRTY?

In other words, logically dirty, or literally "has *the* dirty bit set"?