From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pat Campbell Subject: Re: [RFC] Dynamic modes support for PV xenfb (included) Date: Thu, 13 Mar 2008 13:53:54 -0600 Message-ID: <47D98652.3030806@novell.com> References: <47D4547F.1060305@novell.com> <8763vryiu6.fsf@pike.pond.sub.org> <47D9269B.9030500@novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <47D9269B.9030500@novell.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: Markus Armbruster Cc: xen-devel , "Daniel P. Berrange" , Samuel Thibault List-Id: xen-devel@lists.xenproject.org Hi, Stripped out a bunch of stuff Markus Armbruster wrote: How is this synchronized with xenfb_do_resize()? > > If that runs on another processor, it could see the new value of > resize_dpy, and old values of var.xres and var.yres. > > My suggested fix did not work. My current solution, included in the upcoming patch post was to remove function xenfb_resize_screen() and restored xenfb_thread() to it's original state and put a lock around the event queue. Resize event is now directly sent from xenfb_set_par(). You might want to have a look at that code. Pat