tasn pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=6a4c603e0f016223b328751c4738579df639fcd4
commit 6a4c603e0f016223b328751c4738579df639fcd4 Author: Tom Hacohen <t...@stosb.com> Date: Sun Oct 4 14:56:57 2015 +0100 Eo: Remove dead code. This removes code that became dead in commit: 389c6d35f2908018e8b6ae3f8294c02c6b5073a0 The commit doesn't explain why we don't shrink or grow when using mmap, but this is how it is. No reason to keep old code there. CID 1240224 @fix --- src/lib/eo/eo.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/lib/eo/eo.c b/src/lib/eo/eo.c index 95cb37e..13d41df 100644 --- a/src/lib/eo/eo.c +++ b/src/lib/eo/eo.c @@ -304,17 +304,12 @@ _eo_call_stack_mem_alloc(size_t size) static void _eo_call_stack_mem_resize(void **ptr EINA_UNUSED, size_t newsize, size_t size) { - // FIXME we don't grow if (newsize > size) { CRI("eo call stack overflow, abort."); abort(); } - // FIXME resize call stack down - return; - size_t addr = MEM_PAGE_SIZE * ((newsize + MEM_PAGE_SIZE - 1) / - MEM_PAGE_SIZE); - madvise(((unsigned char *)*ptr) + addr, size - addr, MADV_DONTNEED); + return; // Do nothing, code for actual implementation in history. See commit message for details. #else static void _eo_call_stack_mem_resize(void **ptr, size_t newsize, size_t size EINA_UNUSED) --