]> xenbits.xensource.com Git - unikraft/libs/libgo.git/commit
Add patches to enable runtime
authorCharalampos Mainas <Charalampos.Mainas@neclab.eu>
Thu, 26 Sep 2019 15:31:32 +0000 (17:31 +0200)
committerFelipe Huici <felipe.huici@neclab.eu>
Fri, 27 Sep 2019 08:49:55 +0000 (10:49 +0200)
commitf4fd2efb6d2a5256bfe1c98b8234ef394df7d673
tree0e50b2ceab81bdc87cd5be524f2927a2abdb3a0a
parent99c7695cea92eca80e4f39f5cdc502d1a12c49ac
Add patches to enable runtime

libgo uses backtracking but it leads to page faults. For the time being
it is disabled but it should be revisited in the future.

The second patch decreases the amount of memory maps because it was
exceeding 1G.

Finally, Go uses context switching to manage goroutines. This patch
adds some changes to the way contexts are handled so they can be
compatible with threading in Unikraft.

Signed-off-by: Charalampos Mainas <Charalampos.Mainas@neclab.eu>
Reviewed-by: Felipe Huici <felipe.huici@neclab.eu>
patches/0003-libgo-Disable-backtracing.patch [new file with mode: 0644]
patches/0004-libgo-Reduce-maximum-memory-size.patch [new file with mode: 0644]
patches/0005-libgo-Use-our-context-logic.patch [new file with mode: 0644]