[CRIU] [PATCH 3/3] ptrace: try to get signal blocking mask via ptrace

Pavel Emelyanov xemul at parallels.com
Fri Jun 7 16:03:33 EDT 2013


On 06/06/2013 02:35 PM, Andrey Vagin wrote:
> Two new commands SETSIGMASK and GETSIGMASK were added to ptrace.
> 
> It allows to execute only one parasite command for dumping threads,
> so unrecoverable window become smaller and performance is improved.
> 
> Signed-off-by: Andrey Vagin <avagin at openvz.org>

Plz, split the patch.

> +int parasite_dump_thread_seized_old(struct parasite_ctl *ctl, int id,
> +				struct pid *tid, CoreEntry *core)

> +int parasite_dump_thread_seized_new(struct parasite_ctl *ctl, int id,
> +				struct pid *tid, CoreEntry *core)


Both should be static and with some better names.


More information about the CRIU mailing list