mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-31 04:13:37 +00:00
[PERF]: What to do when your SYSEXIT code has a bug? Set KiFastSystemCallDisable to TRUE so it never gets used. Now, for the first time in 3 years and 3 months (not giving a specific revision # to protect the 'innocent'), ReactOS actually fully uses the SYSENTER/SYSEXIT instructions isntead of IRETD, since my code doesn't exhibit the bug and SYSEXIT is safe to use. This should save a good hundred cycles or more per system call.
svn path=/trunk/; revision=45271
This commit is contained in:
@@ -27,7 +27,7 @@ ULONG KeProcessorArchitecture;
|
||||
ULONG KeProcessorLevel;
|
||||
ULONG KeProcessorRevision;
|
||||
ULONG KeFeatureBits;
|
||||
ULONG KiFastSystemCallDisable = 1;
|
||||
ULONG KiFastSystemCallDisable;
|
||||
ULONG KeI386NpxPresent = 0;
|
||||
ULONG KiMXCsrMask = 0;
|
||||
ULONG MxcsrFeatureMask = 0;
|
||||
|
||||
Reference in New Issue
Block a user