Re: page zeroing

2014-09-27 Thread Mark Kettenis
1.217 diff -u -p -r1.217 init_main.c --- kern/init_main.c14 Aug 2014 09:01:47 - 1.217 +++ kern/init_main.c2 Sep 2014 19:02:37 - @@ -526,6 +526,10 @@ main(void *framep) if (kthread_create(uvm_aiodone_daemon, NULL, NULL, "aiodoned"))

page zeroing

2014-09-26 Thread Mark Kettenis
The diff below adds a kernel thread that makes memory pages filled with zeroes without olding the kernel lock. The idea is that this should speed up MP systems because the kernel can do some useful work in parallel with other things, and could lower the latency on all systems because (userland) me