Cc: <linux-kernel@...>, Linus Torvalds <torvalds@...>, Andrew Morton <akpm@...>, Peter Zijlstra <a.p.zijlstra@...>, Thomas Gleixner <tglx@...>, Alan Cox <alan@...>, Alexander Viro <viro@...>, <airlied@...>
And now applying the debugging tips that Linus, Al and others supplied
to me awhile back, I see from GDB that:
vfs_ioctl locks the kernel before calling drm_ioctl, and, that
create_proc_entry() has the following new line thanks to Ingo:
WARN_ON_ONCE(kernel_locked());
According to Ingo's patch log:
The functions, if called from the BKL, show that the calling site
might have a dependency on the procfs code previously using the BKL
in the dir-entry manipulation functions.
I do not really know what that means, so I cc'd Dave Airlie to see if he
has a solution.
--
Kevin Winchester
--