Avoid the unnecessary acquisition of the free page queues lock when a page is actually being added to the hold queue, not the free queue.  At the same time, avoid unnecessary tests to wake up threads waiting for free memory and the idle thread that zeroes free pages.  (These tests will be performed later when the page finally moves from the hold queue to the free queue.)
Avoid the unnecessary acquisition of the free page queues lock when a page
is actually being added to the hold queue, not the free queue.  At the same
time, avoid unnecessary tests to wake up threads waiting for free memory
and the idle thread that zeroes free pages.  (These tests will be performed
later when the page finally moves from the hold queue to the free queue.)

jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase