I must say, hpoussin proposed to get rid of bget in favor of rtl/heap.c, and I criticized his idea because I had no trust in the old heap code.
Would reusing the new code be an option? Or you already invented the "mini-heap" which works good enough?
WBR, Aleksey.
On 10.02.2012 0:01, tkreuzer@svn.reactos.org wrote:
Author: tkreuzer Date: Thu Feb 9 20:01:10 2012 New Revision: 55518
URL: http://svn.reactos.org/svn/reactos?rev=55518&view=rev Log: [FREELDR]
- Enable new heap code and cleanup the heap, releasing unused memory, before starting reactos
- Gives our kernel about 4MB additional memory, which - at the current leak rate - means around 8 minutes longer before it runs out of memory :)
- Using the temp heap for all temporary allocations should increase the amount of saved space
Removed: trunk/reactos/boot/freeldr/freeldr/mm/heap.c trunk/reactos/boot/freeldr/freeldr/rtl/bget.c