alc 6eeaee04e4 The page flag PGA_WRITEABLE is set and cleared exclusively by the pmap
layer, but it is read directly by the MI VM layer.  This change introduces
pmap_page_is_write_mapped() in order to completely encapsulate all direct
access to PGA_WRITEABLE in the pmap layer.

Aesthetics aside, I am making this change because amd64 will likely begin
using an alternative method to track write mappings, and having
pmap_page_is_write_mapped() in place allows me to make such a change
without further modification to the MI VM layer.

As an added bonus, tidy up some nearby comments concerning page flags.

Reviewed by:	kib
MFC after:	6 weeks
2012-06-16 18:56:19 +00:00
..
2012-05-18 18:55:58 +00:00
MFC
2011-05-09 18:53:13 +00:00
2012-05-24 22:00:48 +00:00
2012-05-18 18:55:58 +00:00
2012-01-15 13:23:18 +00:00
2012-03-28 20:58:30 +00:00