Nim/lib/system
Emery Hemingway 9e87531f04 Genode: constrain osTryAllocPages to RAM quota (#6883)
Genode software components all start with an explicit RAM resource quota
which may or may not be upgraded during runtime by the parent process.
With this patch `osTryAllocPages` will fail if allocation exceeds quotas
set by the parent and the `osAllocPages` procedure will trigger a
blocking request to the parent to increase quotas. The previous behavior
could potentially block both procedures indefinitely for a quota upgrade
rather than fail and trigger garbage collection.

This patch also adds tracking of Genode dataspace mappings into the
component address space so they can be detached and freed.
2017-12-14 10:23:47 +01:00
..
alloc.nim allocator: minor fix for deallocOsPages 2017-12-11 09:18:11 +01:00
ansi_c.nim fixes to allow the usage of clang on windows with the msvc abi and ms headers (#6442) 2017-10-09 17:26:53 +02:00
arithm.nim fixes #2909 2015-06-15 00:56:20 +02:00
assign.nim Futher improve seq assingment speed by 2x factor (#6437) 2017-10-09 22:55:12 +02:00
atomics.nim Fix cas when using vcc/cpp and use the correct interlocked exchange for bool (#6735) 2017-11-14 17:21:56 +01:00
avltree.nim make AVL tree node part of the memory regions; fixes hard to reproduce channel crashes 2017-01-31 13:08:47 +01:00
cellsets.nim remove ArrayDummySize with unchecked arrays (#5818) 2017-08-28 15:44:35 +02:00
cgprocs.nim proper distinction between --gc:none and --os:standalone 2015-06-29 02:48:33 +02:00
channels.nim first steps of making 'opt' a first class type for Nim 2017-09-25 13:19:36 +02:00
chcks.nim fixes #5599 (#5610) 2017-03-26 09:30:59 +02:00
debugger.nim Remove more usages of unary lt (fixes #6634) (#6641) 2017-10-31 19:48:01 +01:00
deepcopy.nim first steps of making 'opt' a first class type for Nim 2017-09-25 13:19:36 +02:00
dyncalls.nim breaking change: arrays of char do not convert to cstring; ptr to array of char does 2017-10-10 00:17:20 +02:00
embedded.nim Fix type of setControlCHook parameter 2015-01-27 12:00:08 +01:00
endb.nim Trim remaining expr/stmt from stdlib (#6742) 2017-11-15 17:34:48 +01:00
excpt.nim added system.getStackTraceEntries 2017-11-16 22:57:27 +01:00
gc.nim more replacements for the deprecated '<' 2017-10-29 08:55:30 +01:00
gc2.nim Trim remaining expr/stmt from stdlib (#6742) 2017-11-15 17:34:48 +01:00
gc_common.nim make gc:v2 compile again 2017-09-22 11:12:14 +02:00
gc_ms.nim more replacements for the deprecated '<' 2017-10-29 08:55:30 +01:00
gc_regions.nim memory regions seem to work now 2017-08-13 02:51:00 +02:00
genodealloc.nim Genode: constrain osTryAllocPages to RAM quota (#6883) 2017-12-14 10:23:47 +01:00
hti.nim first steps of making 'opt' a first class type for Nim 2017-09-25 13:19:36 +02:00
inclrtl.nim make nim bootstrap again for older versions 2016-07-30 00:50:38 +02:00
jssys.nim fixes #6753 2017-11-22 12:58:03 +01:00
memtracker.nim make memory tracker work without onThreadCreation 2017-03-14 15:45:35 +01:00
mmdisp.nim cleanup todo.txt 2017-12-07 15:58:46 +01:00
nimscript.nim getEnv now supports a 'default' parameter; refs #6019 2017-10-30 17:21:05 +01:00
osalloc.nim Genode: constrain osTryAllocPages to RAM quota (#6883) 2017-12-14 10:23:47 +01:00
platforms.nim Introduce first class support for Android (#5772) 2017-08-06 02:18:15 +02:00
profiler.nim Enable embedded profiler to display filenames. 2016-08-02 19:19:31 +07:00
repr.nim Remove more usages of unary lt (fixes #6634) (#6641) 2017-10-31 19:48:01 +01:00
reprjs.nim make some system modules compile again 2017-10-29 19:42:33 +01:00
sets.nim prepare Nim codebase for upcoming parser changes 2016-07-15 12:56:03 +02:00
sysio.nim 'ord' does not produce a range type anymore 2017-11-02 18:23:21 +01:00
syslocks.nim Fixup #5804 (#5837) 2017-05-18 13:12:43 +02:00
sysspawn.nim Trim remaining expr/stmt from stdlib (#6742) 2017-11-15 17:34:48 +01:00
sysstr.nim optimize setLen (#6816) 2017-12-07 14:25:39 -05:00
threads.nim Threading: increase TLS size for new allocator 2017-12-07 13:15:00 +01:00
timers.nim naive work-around for time redefinition (#5193) 2017-01-08 17:53:43 +01:00
widestrs.nim remove ArrayDummySize with unchecked arrays (#5818) 2017-08-28 15:44:35 +02:00