Peter Wemm 3516c025ff Implement idle zeroing of pages. I've been tinkering with this
on and off since John Dyson left his work-in-progress.

It is off by default for now.  sysctl vm.zeroidle_enable=1 to turn it on.

There are some hacks here to deal with the present lack of preemption - we
yield after doing a small number of pages since we wont preempt otherwise.

This is basically Matt's algorithm [with hysteresis] with an idle process
to call it in a similar way it used to be called from the idle loop.

I cleaned up the includes a fair bit here too.
2001-08-25 05:00:44 +00:00
..
2001-07-04 19:00:13 +00:00
2001-07-04 19:00:13 +00:00
2001-08-04 20:49:29 +00:00
2001-07-04 19:00:13 +00:00
2001-08-04 20:49:29 +00:00