Commit f08ba92d authored by Cyrill Gorcunov's avatar Cyrill Gorcunov

restore: Update real_pid comment

Signed-off-by: 's avatarCyrill Gorcunov <gorcunov@gmail.com>
parent 7fab1b23
...@@ -37,11 +37,10 @@ struct fmap_fd { ...@@ -37,11 +37,10 @@ struct fmap_fd {
}; };
/* /*
* Some shared memory entries and pipe entries are created * real_pid member formerly served cases when
* only in one process and got shared by others. Because of * no fork-with-pid functionality were in kernel,
* this the real_pid member is used. It serves like a synchronization * so now it is being kept here just in case if
* point -- the process which creates a particular entity does set * we need it again.
* real_pid member and all other users do wait until this member is set.
*/ */
struct shmem_info { struct shmem_info {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment