[Devel] Re: [PATCH 7/7] (debug) print vpids for all restarting tasks

Oren Laadan orenl at cs.columbia.edu
Mon Nov 16 11:08:46 PST 2009


Pulled for v19-rc1.

Oren.


serue at us.ibm.com wrote:
> From: Serge E. Hallyn <serue at us.ibm.com>
> 
> Signed-off-by: Serge E. Hallyn <serue at us.ibm.com>
> ---
>  checkpoint/restart.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/checkpoint/restart.c b/checkpoint/restart.c
> index 9e2647e..724b7b2 100644
> --- a/checkpoint/restart.c
> +++ b/checkpoint/restart.c
> @@ -158,7 +158,7 @@ void restore_debug_free(struct ckpt_ctx *ctx)
>  		   ctx->errno);
>  	ckpt_debug("kflags %lu uflags %lu oflags %lu", ctx->kflags,
>  		   ctx->uflags, ctx->oflags);
> -	for (i = 0; i < ctx->active_pid; i++)
> +	for (i = 0; i < ctx->nr_pids; i++)
>  		ckpt_debug("task[%d] to run %d\n", i, ctx->pids_arr[i].vpid);
>  
>  	list_for_each_entry_safe(s, p, &ctx->task_status, list) {
_______________________________________________
Containers mailing list
Containers at lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers




More information about the Devel mailing list