Re: [PATCH -mmotm] fbmem: fix fb_info->lock and mm->mmap_sem circular locking dependency

From: Rafael J. Wysocki
Date: Wed Feb 04 2009 - 20:50:05 EST


On Thursday 05 February 2009, Rafael J. Wysocki wrote:
> On Wednesday 04 February 2009, Andrea Righi wrote:
> > Fix this circular locking dependencies in the frame buffer console
> > driver pushing down the mutex fb_info->lock.
> >
> > Circular locking dependecies occur calling the blocking
> > fb_notifier_call_chain() with fb_info->lock held. Notifier callbacks can
> > try to acquire mm->mmap_sem, while fb_mmap() acquires the locks in the
> > reverse order mm->mmap_sem => fb_info->lock.
>
> Does this fix a Bugzilla bug? If so, then which one?

Never mind, found it.

Thanks,
Rafael
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/