Re: PTE modified bit emulation trap

2009-05-14 Thread Dag-Erling Smørgrav
John Baldwin writes: > It might be better to replace the loop with a > vm_fault(..., VM_FAULT_DIRTY) though if that would have the same effect. That was going to be my next question: there must be a more elegant way of doing this :) DES -- Dag-Erling Smørgrav - d...@des.no

Re: PTE modified bit emulation trap

2009-05-14 Thread John Baldwin
On Wednesday 13 May 2009 7:47:38 pm Dag-Erling Smørgrav wrote: > Coverity complains about the lack of error checking in the following > code in sys/kern/kern_sysctl.c, around line 1390: > > /* >* Touch all the wired pages to avoid PTE modified >* bit emulation traps on Alpha

PTE modified bit emulation trap

2009-05-13 Thread Dag-Erling Smørgrav
Coverity complains about the lack of error checking in the following code in sys/kern/kern_sysctl.c, around line 1390: /* * Touch all the wired pages to avoid PTE modified * bit emulation traps on Alpha while holding locks * in the sysctl handler. */