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

Chris Johns chrisj at rtems.org
Tue Feb 9 05:22:00 UTC 2021


On 9/2/21 3:58 pm, Sebastian Huber wrote:
> On 09/02/2021 03:31, chrisj at 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.
>> + *
>> + * The license and distribution terms for this file may be
>> + * found in the file LICENSE in this distribution or at
>> + *http://www.rtems.org/license/LICENSE.
>> + */
> 
> Could you please use the standard header for new files:
> 
> https://docs.rtems.org/branches/master/eng/coding-file-hdr.html#c-c-assembler-source-file-template

Yes of course. I copied the existing file across.

Do we have a list of files that could be migrated?

Chris


More information about the devel mailing list