From d44cbb4ee08f356c394d4831bb301644eccc6207 Mon Sep 17 00:00:00 2001 From: Dmitry Chapyshev Date: Thu, 11 Jun 2009 15:37:43 +0000 Subject: [PATCH] 2 == MEMORY_PRIORITY_FOREGROUND 0 == MEMORY_PRIORITY_BACKGROUND svn path=/trunk/; revision=41385 --- reactos/ntoskrnl/ps/process.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/reactos/ntoskrnl/ps/process.c b/reactos/ntoskrnl/ps/process.c index d1764772947..43a0e30e5bc 100644 --- a/reactos/ntoskrnl/ps/process.c +++ b/reactos/ntoskrnl/ps/process.c @@ -201,13 +201,13 @@ PspComputeQuantumAndPriority(IN PEPROCESS Process, 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; }