- Make ObpReleaseCapturedName an actual function and rename it to ObpFreeObjectNameBu...
authorAlex Ionescu <aionescu@gmail.com>
Mon, 8 Jan 2007 21:02:22 +0000 (21:02 +0000)
committerAlex Ionescu <aionescu@gmail.com>
Mon, 8 Jan 2007 21:02:22 +0000 (21:02 +0000)
commit9de4aee541e066caf6b4aa6b72246ca7b4c1fdd1
tree1f0e92b2420e8cbd7be7cec3e9187f8352ee39cd
parent00207351ecbc78b6b7c4cc1fcb0203dcc4abac5b
- Make ObpReleaseCapturedName an actual function and rename it to ObpFreeObjectNameBuffer. Fix a bug in this function which was causing it to attempt freeing the UNICODE_STRING structure instead of the actual buffer.
- Implement ObpAllocateObjectNameBuffer instead of inlined code in ObpCaptureObjectAttributes. Enable usage of the Name Buffer Lookaside List since the bug in ObpFreeObjectNameBuffer has now been fixed. This should result in significant speedup and less fragmentation of pool memory.
- Allocate object names in the paged pool instead of non-paged pool, if we can't use the lookaside list.

svn path=/trunk/; revision=25389
reactos/ntoskrnl/cm/ntfunc.c
reactos/ntoskrnl/cm/registry.c
reactos/ntoskrnl/include/internal/ob.h
reactos/ntoskrnl/include/internal/ob_x.h
reactos/ntoskrnl/ob/obhandle.c
reactos/ntoskrnl/ob/oblife.c
reactos/ntoskrnl/ob/obref.c