[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [PATCH] Re: [Xen-devel] Re: [PATCH 2/2] PV framebuffer
On 14/12/06 10:58, "Atsushi SAKAI" <sakaia@xxxxxxxxxxxxxx> wrote: > I searched the code and found > the code in smp_call_function line337@linux/arch/ia64/kernel/smp.c > WARN_ON(irqs_disabled()); > > The call trace problem caused by spin_lock_irqsave() > in xenfb_update_screen@linux/drivers/xen/fbfront/xenfb.c > > Why you need to use spin_lock_irqsave in xenfb_update()? > I understand the locking but why irqsave is required at this point? The lock is used in fb_ops, vm_ops and kthread contexts. None of these are executed in IRQ context so irqsave is not needed. I'll remove it. I'm not sure whether you can call zap_page_range() even with a spinlock held though... -- Keir _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |