Correct a bug in vm_page_cache(). We should make sure that a held
authorHiten Pandya <hmp@dragonflybsd.org>
Wed, 24 Mar 2004 17:06:44 +0000 (17:06 +0000)
committerHiten Pandya <hmp@dragonflybsd.org>
Wed, 24 Mar 2004 17:06:44 +0000 (17:06 +0000)
commit2681a43c55489f5bb1f129bfdb7b7ecea0bec5e2
tree1335b1ad61258daea20d9d52a7c4bb1e56c7e3c6
parentbb5fc6c03ec27e7ba26f3c7aa417e84857fb241f
Correct a bug in vm_page_cache().  We should make sure that a held
page is not being added to the cache queue; they are no different
from wired or busy pages.

Do this by checking the page'hold_count' element.
sys/vm/vm_page.c