Changes

451 bytes removed ,  09:15, 25 April 2017
Line 21: Line 21:     
= Notes =
 
= Notes =
# Pipes (and fifos), unix sockets and TTYs generate two fds in their ->open callbacls, the 2nd one can conflict with some other fd the task restores and (!) this "2nd one" may require sending to some other task. This imposes another requirement on the 3-stages engine described above.                                                                                 
+
# Pipes (and fifos), unix sockets and TTYs generate two fds in their ->open callbacls, the 2nd one can conflict with some other fd the task restores and (!) this "2nd one" may require sending to some other task.
# Some actions can only be done only after file is created, served out   and moved to proper position. E.g. epoll configuration and scheduling   TCP repair off. Thus the ->post_open call :( and separate queue for  epoll fds.                                                                                                                                               
+
# Some actions can only be done only after file is created, served out and moved to proper position. E.g. epoll configuration and scheduling TCP repair off.                                          
# Slave TTYs can only be restored after respective master peers. Take into account the issue #2, this results in 3rd queue for slave TTYs.
+
# Slave TTYs can only be restored after respective master peers.
# CTTYs should be __created__ after all other TTYs are created, configured and served out. Thus separate stages (not only queue) for CTTYs.
+
# CTTYs should be __created__ after all other TTYs are created, configured and served out.
    
[[Category:Under the hood]]
 
[[Category:Under the hood]]
 
[[Category:Files]]
 
[[Category:Files]]
17

edits