none
I have a doubt about source code in WRK

    Question

  • <xmp style="font-size:13px;line-height:normal;background-color:#f5f5ff;">There is some code in PspInitPhase0 in psinit.c</xmp>

        PsIdleProcess = PsGetCurrentProcess();
    
        PspInitializeProcessLock (PsIdleProcess);
        ExInitializeRundownProtection (&PsIdleProcess->RundownProtect);
        InitializeListHead (&PsIdleProcess->ThreadListHead);
    
    
        PsIdleProcess->Pcb.KernelTime = 0;
        PsIdleProcess->Pcb.KernelTime = 0;

    <xmp style="font-size:13px;line-height:normal;background-color:#f5f5ff;">Why set 'PsIdleProcess->Pcb.KernelTime = 0' twice ?
    </xmp>

    Saturday, June 15, 2013 3:13 PM