This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


Re: [Xen-devel] Re: Re: [PATCH 2/2] Virtual frame buffer: user space bac

Christian Limpach wrote:
On 7/7/06, Anthony Liguori <anthony@xxxxxxxxxxxxx> wrote:

Instead of switching bitmaps, why not
just have the backend and frontend share a bitmap and do atomic get/sets
on it?

Because we'd like to avoid atomic operations.

Atomic should not be needed.  Just synchronized access, ie.
no unexpected behaviour and proper read/write smp barriers.

"Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are,
by definition, not smart enough to debug it." - Brian W. Kernighan

Xen-devel mailing list