2
0
mirror of https://github.com/checkpoint-restore/criu synced 2025-08-30 05:48:05 +00:00

restore: Update real_pid comment

Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
This commit is contained in:
Cyrill Gorcunov 2011-10-13 18:15:09 +04:00
parent 7fab1b23fd
commit f08ba92df2

View File

@ -37,11 +37,10 @@ struct fmap_fd {
};
/*
* Some shared memory entries and pipe entries are created
* only in one process and got shared by others. Because of
* this the real_pid member is used. It serves like a synchronization
* point -- the process which creates a particular entity does set
* real_pid member and all other users do wait until this member is set.
* real_pid member formerly served cases when
* no fork-with-pid functionality were in kernel,
* so now it is being kept here just in case if
* we need it again.
*/
struct shmem_info {