kernel - Add missing vm_page_wakeup()
authorMatthew Dillon <dillon@apollo.backplane.com>
Fri, 4 Feb 2011 19:51:26 +0000 (11:51 -0800)
committerMatthew Dillon <dillon@apollo.backplane.com>
Fri, 4 Feb 2011 19:51:26 +0000 (11:51 -0800)
commit50e32333fe157099d01bfabd2b7921fd1f1aaabf
treedba1b9acbf7c315b08befa51a92d2cab6dc5a1a9
parent539ed64239f62b7b53b5254a424a08055ab007c7
kernel - Add missing vm_page_wakeup()

* Fix a long-standing issue where a VM page is improperly left PG_BUSY
  when vm_page_try_to_cache() races the Modified bit in underlying PTEs.

* This could only occur during periods of severe memory pressure and
  would typically lead to a program getting stuck in "pgtblk".

Reported-by: Peter Avalos <peter@theshell.com>
sys/vm/vm_page.c