During testing the new buffer code I found that find_candidate()
called very often in refill_freelist() runs try_to_free_buffer()
... this seems to free the previous buffer pages allocated by
grow_buffers() in refill_freelist() and leads to heavy swap I/O
and cpu waste in less physical memory situations. Therefore I've
switched back to the old buffer code ... this is what I've written
a few days ago.
Does any body know a simple fix for find_candidate() in the
new buffer code to avoid this behaviour?
Werner