Author: sginsberg
Date: Wed Jul 15 18:52:47 2009
New Revision: 41973
URL:
http://svn.reactos.org/svn/reactos?rev=41973&view=rev
Log:
- Remove the object body zeroing hack from ObpAllocateObject now that callers that relied
on this have been fixed. Fixes ~4000 unnecessary buffer zeroing operations just for boot!
Modified:
trunk/reactos/ntoskrnl/ob/oblife.c
Modified: trunk/reactos/ntoskrnl/ob/oblife.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/ob/oblife.c?rev=4…
==============================================================================
--- trunk/reactos/ntoskrnl/ob/oblife.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/ob/oblife.c [iso-8859-1] Wed Jul 15 18:52:47 2009
@@ -829,9 +829,6 @@
HighWaterNumberOfObjects);
}
- /* OMG-Hack-Of-Doom */
- RtlZeroMemory(&Header->Body, ObjectSize);
-
/* Return Header */
*ObjectHeader = Header;
return STATUS_SUCCESS;