VM idle page zeroing
dillon at apollo.backplane.com
Tue May 11 14:16:33 PDT 2010
:This is my first attempt at a idle-time VM page zeroing. I added a kernel
:thread, 'zeroidle', which zeros pages as it has time.
:The patch is pretty rough at the minute.
:Any thoughts would be appreciated,
Ok, we had a good conversation on IRC and there will be another
iteration or two of this. Essentially what needs to be done here
is to detect that the cpu is needed for other things during the zeroing
loop, use try_mplock() around the VM code, and a few other things
to reduce the latency seen by other threads.
More information about the Kernel