From 5e938a6c682368bd71b06f418abb9c28670a163a Mon Sep 17 00:00:00 2001 From: Hartmut Birr Date: Sun, 5 Jun 2005 23:07:51 +0000 Subject: [PATCH] Allocate the section object from non paged pool because the storage for a spin lock must be in non paged memory. svn path=/trunk/; revision=15818 --- reactos/ntoskrnl/mm/section.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/reactos/ntoskrnl/mm/section.c b/reactos/ntoskrnl/mm/section.c index 33d446acb61..f73a1733892 100644 --- a/reactos/ntoskrnl/mm/section.c +++ b/reactos/ntoskrnl/mm/section.c @@ -2123,8 +2123,8 @@ MmInitSectionImplementation(VOID) RtlZeroMemory(&ObjectTypeInitializer, sizeof(ObjectTypeInitializer)); RtlInitUnicodeString(&Name, L"Section"); ObjectTypeInitializer.Length = sizeof(ObjectTypeInitializer); - ObjectTypeInitializer.DefaultPagedPoolCharge = sizeof(SECTION_OBJECT); - ObjectTypeInitializer.PoolType = PagedPool; + ObjectTypeInitializer.DefaultNonPagedPoolCharge = sizeof(SECTION_OBJECT); + ObjectTypeInitializer.PoolType = NonPagedPool; ObjectTypeInitializer.UseDefaultObject = TRUE; ObjectTypeInitializer.GenericMapping = MmpSectionMapping; ObjectTypeInitializer.DeleteProcedure = MmpDeleteSection;