- Enable NT Scheduler.

- The good:
  - Fixes hangs/freezes in trunk
  - No matter how sluggish the system got, I was able to move the mouse and other apps were still responsive even though one app was hogging the CPU.
  - Balancer thread activates and does its job of preventing deadlocks.
  - The code was heavily tested and some of it is based off direct pseudo-code from NT's very own kernel (legally obtained from Windows Internals II slides) as well as Windows Internals 4th.
The bad:
  - Explorer takes 30 seconds to load, after that all is fine though.
  - First-stage installer asserts at 18% in Mm instead of lagging like previously.
  - Various other Mm crashes related to the above ^^.
- Please help out to fix/figure out the Mm crashes! It would be much appreciated, otherwise, in a week, we will revert this patch as well as the patch that caused the hangs/freezes.

svn path=/trunk/; revision=25639
This commit is contained in:
Alex Ionescu 2007-01-26 20:54:30 +00:00
parent 528e8fe9ec
commit 594d924eaa
2 changed files with 3 additions and 1 deletions

View file

@ -20,7 +20,7 @@ Author:
#ifndef _ASM_H
#define _ASM_H
//#define NEW_SCHEDULER
#define NEW_SCHEDULER
//
// PCR Access

View file

@ -114,7 +114,9 @@ KiScanReadyQueues(IN PKDPC Dpc,
}
/* Release the locks and dispatcher */
#ifndef NEW_SCHEDULER
OldSched:
#endif
KiReleasePrcbLock(Prcb);
KiReleaseDispatcherLock(OldIrql);