Neel Natu be28275d00 If a superpage mapping is being removed then we need to ignore the PG_PDE_PAT
bit when looking up the vm_page associated with the superpage's physical
address.

If the caching attribute for the mapping is write combining or write protected
then the PG_PDE_PAT bit will be set and thus cause an 'off-by-one' error
when looking up the vm_page.

Fix this by using the PG_PS_FRAME mask to compute the physical address for
a superpage mapping instead of PG_FRAME.

This is a theoretical issue at this point since non-writeback attributes are
currently used only for fictitious mappings and fictitious mappings are not
subject to promotion.

Discussed with:	alc, kib
MFC after:	2 weeks
2013-07-03 23:21:25 +00:00
..
2013-06-08 13:30:13 +00:00
2013-07-03 20:22:12 +00:00
2013-07-03 10:31:45 +00:00
2013-07-03 07:31:07 +00:00
2013-05-12 16:43:26 +00:00
2013-07-03 18:48:43 +00:00
2013-06-01 12:21:59 +00:00
2013-04-17 11:45:15 +00:00
2013-07-02 07:17:56 +00:00
2013-06-18 06:55:58 +00:00