K 10 svn:author V 7 attilio K 8 svn:date V 27 2014-07-08T13:24:00.140352Z K 7 svn:log V 716 - Fix vm_page_dispose() to also accept already enqueued pages and to correctly dequeue them. This aligns vm_page_dispose() with vm_page_activate() and vm_page_deactivate(). - Rewrite vm_page_advise() to take advantage of the newly introduced disposed pagequeue. Pages advised with MADV_FREE will be infact moved to the high priority disposed pqueue, while pages advised with MADV_DONTNEED will be moved to the inactive queue but at the head, so that they will be more likely freed with higher priority. The only exception to this rule is with dirty pages that will be moved normally at the tail of the inactive queue, as the pagedaemon will try anyway to move them at the tail after pass == 1. END