From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rik van Riel Subject: Re: Re: Re: [PATCH 2/2] Virtual frame buffer: user space backend Date: Fri, 07 Jul 2006 20:35:42 -0400 Message-ID: <44AEFDDE.3070504@redhat.com> References: <87ac80ghox.fsf@pike.pond.sub.org> <871wtcghmr.fsf@pike.pond.sub.org> <3d8eece20607070957p2d6bb1e5o7febaa5ca124429d@mail.gmail.com> <3d8eece20607071133m10b3a279hac1229bdcdf38bf4@mail.gmail.com> <3d8eece20607071550i7fcc98d7o634db68ec6d25b9c@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <3d8eece20607071550i7fcc98d7o634db68ec6d25b9c@mail.gmail.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Christian.Limpach@cl.cam.ac.uk Cc: xen-devel@lists.xensource.com, Anthony Liguori List-Id: xen-devel@lists.xenproject.org Christian Limpach wrote: > On 7/7/06, Anthony Liguori 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