public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* lockdep splat from fbmem
@ 2008-10-23  3:23 Johannes Weiner
  2008-10-23 13:10 ` Andrea Righi
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Johannes Weiner @ 2008-10-23  3:23 UTC (permalink / raw)
  To: Krzysztof Helt; +Cc: Andrea Righi, Linux Kernel Mailing List

Hi,

fb_mmap() is called under mmap_sem and acquires fb_info->lock.

Since 3e680aae4e53ab "fb: convert lock/unlock_kernel() into local fb
mutex", fb_ioctl() takes fb_info->lock and does copy_to/from_user()
under it, which in turn might acquire mmap_sem.

Just noticed the trace and wanted to let you know.

        Hannes

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2008-10-28 22:33 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-23  3:23 lockdep splat from fbmem Johannes Weiner
2008-10-23 13:10 ` Andrea Righi
2008-10-23 13:58 ` lockdep splat from ioctl and mmap fops sharing lock Johannes Weiner
2008-10-23 15:08   ` Stefan Richter
2008-10-23 16:32     ` Johannes Weiner
2008-10-25  9:12       ` Stefan Richter
2008-10-28 22:33 ` lockdep splat from fbmem Andrea Righi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox