Author: tkreuzer
Date: Wed Aug 11 01:22:06 2010
New Revision: 48517

URL: http://svn.reactos.org/svn/reactos?rev=48517&view=rev
Log:
[NTOSKRNL]
Stop using the new paged pool code, before ExpLoadInitialProcess is called. For 
so far unknown reasons, it causes evil things to happen. Fixes "Assertion 
NewSize < pool->UserSize failed"
See issue #5551 for more details.

Modified:
    trunk/reactos/ntoskrnl/ex/init.c

Modified: trunk/reactos/ntoskrnl/ex/init.c
URL: 
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/ex/init.c?rev=48517&r1=48516&r2=48517&view=diff
==============================================================================
--- trunk/reactos/ntoskrnl/ex/init.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/ex/init.c [iso-8859-1] Wed Aug 11 01:22:06 2010
@@ -1851,6 +1851,9 @@
     /* Update progress bar */
     InbvUpdateProgressBar(90);
 
+    /* Enough fun for now */
+    AllowPagedPool = FALSE;
+
     /* Launch initial process */
     ProcessInfo = &InitBuffer->ProcessInfo;
     ExpLoadInitialProcess(InitBuffer, &ProcessParameters, &Environment);
@@ -1860,9 +1863,6 @@
 
     /* Allow strings to be displayed */
     InbvEnableDisplayString(TRUE);
-
-    /* Enough fun for now */
-    AllowPagedPool = FALSE;
 
     /* Wait 5 seconds for it to initialize */
     Timeout.QuadPart = Int32x32To64(5, -10000000);


Reply via email to