kernel - Fix lockup due to recentn pmap change
commit97c8c48c0948f7071b168f982d407bffa180c7db
authorMatthew Dillon <dillon@apollo.backplane.com>
Sun, 5 Feb 2017 18:04:26 +0000 (5 10:04 -0800)
committerMatthew Dillon <dillon@apollo.backplane.com>
Sun, 5 Feb 2017 18:04:26 +0000 (5 10:04 -0800)
tree0be873f74ef8d2915deea6c5de5369445607a454
parent68d31414f1c472c4273a2b3fedba195c095e5405
kernel - Fix lockup due to recentn pmap change

* The recent change to move a test for skipping pages which do not
  have PG_RW set was improperly restarting the loop from scratch,
  resulting in an infinite loop.

Reported-by: David Shao, jh32
sys/platform/pc64/x86_64/pmap.c