Re: [PATCH] libcsupport: Add sbrk greedy support to consume all sbrk memory

2021-02-08 Thread Chris Johns
On 9/2/21 3:58 pm, Sebastian Huber wrote: > On 09/02/2021 03:31, chr...@rtems.org wrote: > >> +++ b/cpukit/libcsupport/src/rtems_heap_sbrk_greedy.c >> @@ -0,0 +1,37 @@ >> +/** >> + *  @file >> + * >> + *  @brief Greedy Allocate that Empties the sbrk system call >> + *  @ingroup MallocSupport >> +

Re: [PATCH] libcsupport: Add sbrk greedy support to consume all sbrk memory

2021-02-08 Thread Sebastian Huber
On 09/02/2021 03:31, chr...@rtems.org wrote: +++ b/cpukit/libcsupport/src/rtems_heap_sbrk_greedy.c @@ -0,0 +1,37 @@ +/** + * @file + * + * @brief Greedy Allocate that Empties the sbrk system call + * @ingroup MallocSupport + */ + +/* + * Copyright (c) 2021 Chris Johns. All rights reserved. +

[PATCH] libcsupport: Add sbrk greedy support to consume all sbrk memory

2021-02-08 Thread chrisj
From: Chris Johns - Move the heap sbrk code into a separate routnine. - Update heap and workspace greedy allocators to use the common sbrk greedy support. Closes #3982 --- cpukit/Makefile.am| 1 + cpukit/include/rtems/malloc.h | 13 +++ cpukit