_PAGE_HWWRITE missing in pte_mkdirty()?
dan at embeddededge.com
Sat Apr 26 00:56:52 EST 2003
Joakim Tjernlund wrote:
> I noticed that pte_mkdirty() does not set the change bit(HWWRITE) when
> dirtying a page. I think it should. Is there a reason why it doesn't?
A dirty page doesn't necessarily indicate a write enabled page. Setting
_PAGE_HWWRITE without _PAGE_RW is an error. On PPC, RW and DIRTY are
software status bits, HWWRITE actually contols write access.
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
More information about the Linuxppc-dev