search for: free_arena_head

Displaying 7 results from an estimated 7 matches for "free_arena_head".

Did you mean: free_arena_header
2018 Feb 03
1
Mismatch between code comments and reality in malloc.h
...ode diving and I seem to have found a discrepancy between code comments and reality. This difference could hint at a bug or performance degradation, but I doubt it. I thought to ask to get clarification. In syslinux/core/mem/malloc.h, the comments and definition for arena_header, ARENA_PADDING and free_arena_header are: /* * This structure should be a power of two. This becomes the * alignment unit. */ struct arena_header { malloc_tag_t tag; size_t attrs; /* Bits 0..1: Type 2..3: Heap, 4..31: MSB of the size */ struct free_arena_header *next, *prev; #ifdef DEBUG_MALLOC unsi...
2018 Feb 06
0
[PATCH] syslinux/core: Remove discrepancy between code comments and compiled code in malloc.h
From: Brett Walker <brett.walker at geometry.com.au> Remove a discrepancy between code comments and the definition for arena_header, ARENA_PADDING and free_arena_header. When the size of int and pointer are both 32-bits; and compiled with DEBUG_MALLOC undefined; the following are true: sizeof(arena_header) == 16 and sizeof(free_arena_header) == 56. To correct this, the type of _pad needs to be changed from size_t to uint8_t. This will make sizeof(free_arena_he...
2008 Mar 24
3
I' m a Gsoc Applier
Hello, I'm a student interested in the syslinux project of Gsoc. And Isincerely hope to have the opportunity to apply the "Dynamic linker/loader for modules" project. But it seems the #syslinux channel is not so active and I can't contact a mentor about that. Could anybody help me? Thank you!
2006 Jan 14
0
com32's realloc function
.../com32/lib/realloc.c 2006-01-14 23:37:52.000000000 +0000 @@ -24,7 +24,7 @@ } /* Add the obligatory arena header, and round up */ - size = (size+2*sizeof(struct arena_header)-1) & ARENA_SIZE_MASK; + size = (size+2*sizeof(struct arena_header)-1) & ~ARENA_SIZE_MASK; ah = (struct free_arena_header *) ((struct arena_header *)ptr - 1);
2012 Nov 01
1
[PATCH] com32: Include .init_array section in .ctors in linker script
...t a/com32/lib/malloc.c b/com32/lib/malloc.c index ec103ab..ce35f3d 100644 --- a/com32/lib/malloc.c +++ b/com32/lib/malloc.c @@ -8,7 +8,6 @@ #include <string.h> #include <com32.h> #include <syslinux/memscan.h> -#include "init.h" #include "malloc.h" struct free_arena_header __malloc_head = { -- 1.7.11.7
2012 Nov 02
10
[PATCH 0/9] elflink fixes
From: Matt Fleming <matt.fleming at intel.com> Here are the patches that I've got queued up based on the very helpful feedback I received from people testing Syslinux 5.00-pre9. Unless anyone has any concerns these will make it into Syslinux 5.00-pre10. Matt Fleming (9): pxe: Don't call open_config() from the pxe core ldlinux: Print a warning if no config file is found
2011 Mar 09
14
[PATCH 00/12] elflink shrinkage
From: Matt Fleming <matt.fleming at linux.intel.com> This is a series of patches that, * shrink the core by moving things into an ldlinux ELF module * begin wiring up some of the C versions of various functions The core now only contains essential code and loads the ldlinux module to do everything else, like providing a command line interface and loading kernels. The config file parsing