[ros-diffs] [sginsberg] 41973: - 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!
sginsberg at svn.reactos.org
sginsberg at svn.reactos.org
Wed Jul 15 18:52:47 CEST 2009
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=41973&r1=41972&r2=41973&view=diff
==============================================================================
--- 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;
More information about the Ros-diffs
mailing list