HomeFreeBSD

Implement idle zeroing of pages. I've been tinkering with this
rS82314Unpublished

Unpublished Commit ยท Learn More

No further details are available.

Description

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.

Details

Provenance
peterAuthored on
Parents
rS82313: vm_page_zero_idle() is no longer MD.
Branches
Unknown
Tags
Unknown

Event Timeline