Here is an initial patch against NetBSD head for adding alternative
assembly implementations if you don't have swapcontext etc

https://gist.github.com/justincormack/fb0cd45de85f6b2e2817

use -V RUMPUSER_THREADS=fiber -V RUMPUSER_FIBER=asm -V RUMP_CURLWP=hypercall

Will do arm and x86 versions.

The main point is for (a) platforms without swapcontext (Musl, OpenBSD
etc) and (b) should be able to use the same code with baremetal, Xen
and Posix. (I sent an earlier email about config for that, but it
still in the ether).

Justin

------------------------------------------------------------------------------
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net
_______________________________________________
rumpkernel-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/rumpkernel-users

Reply via email to