Author: dchapyshev
Date: Thu Jun 11 19:37:43 2009
New Revision: 41385
URL:
http://svn.reactos.org/svn/reactos?rev=41385&view=rev
Log:
2 == MEMORY_PRIORITY_FOREGROUND
0 == MEMORY_PRIORITY_BACKGROUND
Modified:
trunk/reactos/ntoskrnl/ps/process.c
Modified: trunk/reactos/ntoskrnl/ps/process.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/ps/process.c?rev=…
==============================================================================
--- trunk/reactos/ntoskrnl/ps/process.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/ps/process.c [iso-8859-1] Thu Jun 11 19:37:43 2009
@@ -201,13 +201,13 @@
if (Mode == PsProcessPriorityForeground)
{
/* Set the memory priority and use priority separation */
- MemoryPriority = 2;
+ MemoryPriority = MEMORY_PRIORITY_FOREGROUND;
i = PsPrioritySeparation;
}
else
{
/* Set the background memory priority and no separation */
- MemoryPriority = 0;
+ MemoryPriority = MEMORY_PRIORITY_BACKGROUND;
i = 0;
}