libmthread: resolve memory leaks on exception pathIf libmthread runs into a memory allocation failure while attemptingto enlarge its thread pool, it does not free up any preliminaryallocations ma
libmthread: resolve memory leaks on exception pathIf libmthread runs into a memory allocation failure while attemptingto enlarge its thread pool, it does not free up any preliminaryallocations made so far.Reported by dcb314.This closes #152.Change-Id: Ib882a4544e4802a0eb0a53446b43997876cde633
show more ...
libmthread: Fix guard page mapping.Edited by David van Moolenbroek to deallocate the guard page as well.Note that while the new approach is better in theory (previously, thehole could end up bein
libmthread: Fix guard page mapping.Edited by David van Moolenbroek to deallocate the guard page as well.Note that while the new approach is better in theory (previously, thehole could end up being filled by another allocated page), guard pageprotection is now broken in practice, because VM does not supportsetting specific page permissions (in this case, PROT_NONE).Change-Id: I882624f5d152d3ebe82fca649cbad85aa4931780
New sources layoutChange-Id: Ic716f336b7071063997cf5b4dae6d50e0b4631e9