mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 09:25:10 +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:
parent
dd14b916ff
commit
842d2aa5f9
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue