commit | 9c3e74705a59d50d8aab7c7f294386fd14edda29 | [log] [tgz] |
---|---|---|
author | Kevin O'Connor <kevin@koconnor.net> | Sun Aug 02 12:33:58 2009 -0400 |
committer | Kevin O'Connor <kevin@koconnor.net> | Sun Aug 02 12:33:58 2009 -0400 |
tree | acab445ab9c83783beb2835bcbaa32e2b5c5e4f8 | |
parent | 0bf9270aa47777992914096d476c4aef99e30865 [diff] |
Fix some PMM corner-cases. Make sure not to divide by zero when calculating usage percent in debug messages. Make sure high memory zones are aligned; make sure zone is big enough even after loss due to alignment. Be sure to reset ZoneTmpHigh and PMMAllocs on failure paths. Fix corner case in pmm_free() where an allocation might not get freed due to ordering of pmmalloc_s structs.