]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
ieee1394: nodemgr: parallelize between several hosts
authorStefan Richter <stefanr@s5r6.in-berlin.de>
Sun, 17 Jun 2007 21:47:45 +0000 (23:47 +0200)
committerStefan Richter <stefanr@s5r6.in-berlin.de>
Mon, 9 Jul 2007 22:07:39 +0000 (00:07 +0200)
commita0e857eeffba8976be6bdb9f4bb011c18eb2aff7
tree2edceea4805bd9ab0dc91da9931d66c8bcd8d02a
parentdd7f2928d834f7ac67202bcdf24a44ba9b138f08
ieee1394: nodemgr: parallelize between several hosts

Remove the global nodemgr_serialize mutex which enclosed most of the
host thread event loop.  This allows for parallelism between several
host adapter cards.

Properly serialize the driver hooks .update(), .suspend(), .resume(),
and .remove() by means of device->sem.  These hooks can be called from
outside the host threads' contexts.

Get() and put() the device.driver when calling its hooks.

Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
drivers/ieee1394/nodemgr.c