Re: [PATCH 4/9] Introduce container dump function

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Serge E. Hallyn
Date: Wednesday, September 3, 2008 - 7:23 am

Quoting Andrey Mirkin (major@openvz.org):

The get_task_struct() above won't pin the tsk->nsproxy
though, will it?  So should you be doing a
	rcu_read_lock();
	nsproxy = get_task_nsproxy(root);
	rcu_read_unlock();
to make sure the nsproxy doesn't disappear out from under
you?

(Maybe you do it in a later patch...)

thanks,
-serge

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 0/9] OpenVZ kernel based checkpointing/restart, Andrey Mirkin, (Wed Sep 3, 3:57 am)
[PATCH 4/9] Introduce container dump function, Andrey Mirkin, (Wed Sep 3, 3:57 am)
[PATCH 5/9] Introduce function to dump process, Andrey Mirkin, (Wed Sep 3, 3:57 am)
[PATCH 6/9] Introduce functions to dump mm, Andrey Mirkin, (Wed Sep 3, 3:57 am)
[PATCH 8/9] Introduce functions to restart a process, Andrey Mirkin, (Wed Sep 3, 3:57 am)
[PATCH 9/9] Introduce functions to restore mm, Andrey Mirkin, (Wed Sep 3, 3:57 am)
Re: [PATCH 0/9] OpenVZ kernel based checkpointing/restart, Cedric Le Goater, (Wed Sep 3, 5:28 am)
Re: [PATCH 3/9] Introduce context structure needed , Andrey Mirkin, (Wed Sep 3, 7:11 am)
Re: [PATCH 6/9] Introduce functions to dump mm, Louis Rilling, (Wed Sep 3, 7:17 am)
Re: [PATCH 0/9] OpenVZ kernel based checkpointing/restart, Serge E. Hallyn, (Wed Sep 3, 7:18 am)
Re: [PATCH 4/9] Introduce container dump function, Serge E. Hallyn, (Wed Sep 3, 7:23 am)
Re: [PATCH 0/9] OpenVZ kernel based checkpointing/restart, Cedric Le Goater, (Wed Sep 3, 7:26 am)
Re: [PATCH 3/9] Introduce context structure needed , Andrey Mirkin, (Wed Sep 3, 7:29 am)
Re: [PATCH 4/9] Introduce container dump function, Andrey Mirkin, (Wed Sep 3, 7:45 am)
Re: [PATCH 8/9] Introduce functions to restart a process, Pavel Machek, (Sat Sep 13, 10:34 am)
Re: [PATCH 0/9] OpenVZ kernel based checkpointing/restart, Louis Rilling, (Mon Oct 20, 4:10 am)
Re: [PATCH 0/9] OpenVZ kernel based checkpointing/restart, Daniel Lezcano, (Mon Oct 20, 6:25 am)
Re: [PATCH 0/9] OpenVZ kernel based checkpointing/restart, Cedric Le Goater, (Mon Oct 20, 6:48 am)
Re: [PATCH 0/9] OpenVZ kernel based checkpointing/restart, Daniel Lezcano, (Mon Oct 20, 6:49 am)
Re: [PATCH 0/9] OpenVZ kernel based checkpointing/restart, Daniel Lezcano, (Mon Oct 20, 9:37 am)
Re: [PATCH 0/9] OpenVZ kernel based checkpointing/restart, Serge E. Hallyn, (Mon Oct 20, 9:51 am)
Re: [PATCH 0/9] OpenVZ kernel based checkpointing/restart, Serge E. Hallyn, (Mon Oct 20, 10:23 am)
Re: [PATCH 0/9] OpenVZ kernel based checkpointing/restart, Serge E. Hallyn, (Mon Oct 20, 5:58 pm)
Re: [PATCH 0/9] OpenVZ kernel based checkpointing/restart, Cedric Le Goater, (Tue Oct 21, 2:36 am)
Re: [PATCH 0/9] OpenVZ kernel based checkpointing/restart, Daniel Lezcano, (Tue Oct 21, 6:24 am)