[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20070316085107.GC23174@elte.hu>
Date: Fri, 16 Mar 2007 09:51:07 +0100
From: Ingo Molnar <mingo@...e.hu>
To: Jeremy Fitzhardinge <jeremy@...p.org>
Cc: Andi Kleen <ak@....de>, Andrew Morton <akpm@...ux-foundation.org>,
linux-kernel@...r.kernel.org, virtualization@...ts.osdl.org,
xen-devel@...ts.xensource.com, Chris Wright <chrisw@...s-sol.org>,
Zachary Amsden <zach@...are.com>,
Rusty Russell <rusty@...tcorp.com.au>,
Ian Pratt <ian.pratt@...source.com>,
Christian Limpach <Christian.Limpach@...cam.ac.uk>
Subject: Re: [patch 23/26] Xen-paravirt_ops: Add Xen grant table support
* Jeremy Fitzhardinge <jeremy@...p.org> wrote:
> Add Xen 'grant table' driver which allows granting of access to
> selected local memory pages by other virtual machines and,
> symmetrically, the mapping of remote memory pages which other virtual
> machines have granted access to.
>
> This driver is a prerequisite for many of the Xen virtual device
> drivers, which grant the 'device driver domain' restricted and
> temporary access to only those memory pages that are currently
> involved in I/O operations.
> +
> +#ifndef __ia64__
> + {
introduce a proper arch method instead.
> + unsigned long flags;
> + int ref;
> + grant_ref_t head;
> + spin_lock_irqsave(&gnttab_list_lock, flags);
> + unsigned long flags;
> + spin_lock_irqsave(&gnttab_list_lock, flags);
> + unsigned long flags;
> + int count = 1;
> + if (head == GNTTAB_LIST_END)
> + grant_ref_t g = *private_head;
> + if (unlikely(g == GNTTAB_LIST_END))
coding style problems.
Ingo
-
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