[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <200712261047.39247.rusty@rustcorp.com.au>
Date: Wed, 26 Dec 2007 10:47:38 +1100
From: Rusty Russell <rusty@...tcorp.com.au>
To: Glauber de Oliveira Costa <gcosta@...hat.com>
Cc: lguest@...abs.org, glommer@...il.com, linux-kernel@...r.kernel.org,
virtualization@...ts.linux-foundation.org, rostedt@...dmis.org
Subject: Re: [PATCH 13/16] per-vcpu lguest task management
On Friday 21 December 2007 00:33:53 Glauber de Oliveira Costa wrote:
> @@ -114,6 +116,19 @@ static int vcpu_start(struct lguest_vcpu *vcpu, int
> vcpu_id, * address. */
> lguest_arch_setup_regs(vcpu, start_ip);
>
> + /* Initialize the queue for the waker to wait on */
> + init_waitqueue_head(&vcpu->break_wq);
> +
> + /* We keep a pointer to the Launcher task (ie. current task) for when
> + * other Guests want to wake this one (inter-Guest I/O). */
> + vcpu->tsk = current;
> +
> + /* We need to keep a pointer to the Launcher's memory map, because if
> + * the Launcher dies we need to clean it up. If we don't keep a
> + * reference, it is destroyed before close() is called. */
> + vcpu->mm = get_task_mm(vcpu->tsk);
> +
> +
Nitpick: extra line?
Cheers,
Rusty.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists