swapcontext() slow

Godmar Back godmar@gmail.com
Fri Jan 22 17:25:00 GMT 2016


Interesting - hadn't seen any of that.

Also found this post: https://plus.google.com/+OlegZabluda/posts/KXp5i967gG4
and http://www.1024cores.net/home/lock-free-algorithms/tricks/fibers
linked from there for an alternative project pursuing similar ideas of
an almost portable interface while avoiding the sigprocmask penalty in
swap_context.

Re: Google's proposal - Turner's slide say "google proprietary" - does
anyone know if Google runs custom kernels with this fast usermode
scheduling facility?

As one commenter on the YouTube page points out, it seems similar to
Windows 7 UMS (https://msdn.microsoft.com/en-us/library/windows/desktop/dd627187(v=vs.85).aspx
)
I've always wondered which applications make use of UMS - is it just a
facility that MS built because they thought it's cool, or do their
core products rely on it?

Related, is there interest in the Linux glibc/kernel community in
deploying some of these ideas?  (I'm not currently reading the linux
kernel mailing list).

 - Godmar



More information about the Libc-help mailing list