Changes

Jump to navigation Jump to search
19 bytes added ,  10:26, 21 September 2016
Line 19: Line 19:  
See more examples in our protobuf/*.proto files.
 
See more examples in our protobuf/*.proto files.
   −
It is also worth noting, that we have a unique number for all kinds of custom protobuf options(see [[Images#Notes_about_protobuf]]), so you don't have to worry that it might collide with others.
+
It is also worth noting, that we have a unique number for all kinds of custom protobuf options, so you don't have to worry that it might collide with others.
 +
 
 +
''See also: [[Images]]''
    
== Sharing of kernel objects ==
 
== Sharing of kernel objects ==
Line 26: Line 28:     
In kernel there's no API that can just reveal the tasks-to-objects map. Instead, there's an API called <code>kcmp()</code> that compares two e.g. file descriptors and reports back whether the file referenced by them is the same or not. In CRIU we have a [https://github.com/xemul/criu/blob/master/kcmp-ids.c KCMPIDS] engine that uses this API, build [[kcmp trees]] and turns the equals-notequals answers into a list of IDs of objects.
 
In kernel there's no API that can just reveal the tasks-to-objects map. Instead, there's an API called <code>kcmp()</code> that compares two e.g. file descriptors and reports back whether the file referenced by them is the same or not. In CRIU we have a [https://github.com/xemul/criu/blob/master/kcmp-ids.c KCMPIDS] engine that uses this API, build [[kcmp trees]] and turns the equals-notequals answers into a list of IDs of objects.
 +
 +
''See also: [[Kcmp trees]]''
    
[[Category:Development]]
 
[[Category:Development]]
 
[[Category:Under the hood]]
 
[[Category:Under the hood]]

Navigation menu