* bkl-removal: drivers/firewire and drivers/ieee1394 patches can be reverted/ dropped
@ 2008-06-12 20:17 Stefan Richter
2008-06-20 20:10 ` Jonathan Corbet
0 siblings, 1 reply; 2+ messages in thread
From: Stefan Richter @ 2008-06-12 20:17 UTC (permalink / raw)
To: Jonathan Corbet; +Cc: linux-kernel, linux1394-devel
Jonathan,
please revert commits
"firewire: cdev lock_kernel() pushdown"
aabbc0e478bf1e82e7f4a9ec61abb8a1a259175b
http://git.kernel.org/?p=linux/kernel/git/sfr/linux-next.git;a=commitdiff;h=aabbc0e478bf1e82e7f4a9ec61abb8a1a259175b
"ieee1394: cdev lock_kernel() pushdown"
8fff9d8cda2b288231fd100333fed26b9bb2042f
http://git.kernel.org/?p=linux/kernel/git/sfr/linux-next.git;a=commitdiff;h=8fff9d8cda2b288231fd100333fed26b9bb2042f
and drop them before mainline submission.
I looked at the respective drivers last month and came to the conclusion
that fw_device_op_open(), dv1394_open(), raw1394_open() are safe to be
called without the BKL held. I specifically looked for possible races
with module initialization or with other processes accessing the
respective character device file interface and found none.
(Well, extremely early openers of dv1394 or raw1394 could find the
devices not yet operational, i.e. they may look to the opener as if no
hardware were present. But this is no real-world problem. All actual
application programs which use those device files will in practice
access them only after module initialization was finished and thus be
able to get through to hardware.)
I found a race condition of video1394_open() with module initialization
and fixed it in commit
"ieee1394: video1394: reorder module init, prepare BKL removal"
6ee70088d975130142debdf1f6fe07958d3d2f26
http://git.kernel.org/?p=linux/kernel/git/sfr/linux-next.git;a=commitdiff;h=6ee70088d975130142debdf1f6fe07958d3d2f26
Thanks,
--
Stefan Richter
-=====-==--- -==- -==--
http://arcgraph.de/sr/
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-06-20 20:10 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-06-12 20:17 bkl-removal: drivers/firewire and drivers/ieee1394 patches can be reverted/ dropped Stefan Richter
2008-06-20 20:10 ` Jonathan Corbet
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®