News for hackers. Stuff that matters.
Re:An Implementation of the Solaris Doors API for Linux (199... by lukeh on Monday January 30, 2023 @02:10AM (#34576726)
Right, I thought that was the whole idea, like a shuttle?
Re:An Implementation of the Solaris Doors API for Linux (199... by cryptonector on Monday January 30, 2023 @11:01AM (#34581461)
It is.
Re:An Implementation of the Solaris Doors API for Linux (199... by oecumena on Tuesday January 31, 2023 @02:26AM (#34592315)
Original Solaris doors use server thread pools: https://github.com/illumos/illumos-gate/blob/master/usr/src/...
Re:An Implementation of the Solaris Doors API for Linux (199... by cryptonector on Tuesday January 31, 2023 @04:56PM (#34602845)
Yes, but because when a server thread is available the context switch is immediate and with priority transfer, the effect is similar.
Re:An Implementation of the Solaris Doors API for Linux (199... by oecumena on Tuesday January 31, 2023 @06:31PM (#34603933)
I agree that the direct hand-off that Solaris shuttles provide is more efficient than general wakeup, but it is less efficient than switching MM context of the client thread. The latter results in twice fewer threads, twice fewer scheduler lock acquisitions, etc. Note that for the kernel-level door servers, Solaris does not use server threads, it directly calls the server entry point function.