Messages in this thread | | | Date | Sun, 18 Jun 2006 18:57:03 +0200 (CEST) | From | Stefan Richter <> | Subject | [PATCH 2.6.17-rc6-mm2 0/6] ieee1394: nodemgr: misc API conversions |
| |
The following patches clean up and convert API usages in ieee1394/nodemgr.c. Parts of this patch series supersede the previously posted variants of "[PATCH] kthread conversion: convert ieee1394 from kernel_thread".
1/6 ieee1394: nodemgr: remove unnecessary includes 2/6 ieee1394: do not spawn a kernel_thread for user-initiated bus rescan 3/6 ieee1394: make module parameter ignore_drivers writable 4/6 ieee1394: nodemgr: switch to kthread API 5/6 ieee1394: nodemgr: replace reset semaphore 6/6 ieee1394: convert nodemgr_serialize semaphore to mutex
drivers/ieee1394/nodemgr.c | 151 +++++++++++-------------------------- 1 files changed, 47 insertions(+), 104 deletions(-)
In case someone actually puts these patches to test and finds a lockup or something more serious, please check if it isn't this older bug: http://bugzilla.kernel.org/show_bug.cgi?id=6706 Two things which I could not test are behaviour on actual SMP machines and the try_to_freeze() business.
Patch 3/6 is not an API conversion but is loosely related to patch 2/6.
After this patchset, all usages of the kernel_thread API are removed from the ieee1394 subsystem. Two usages of semaphores are replaced. The following semaphores are still remaining in drivers/ieee1394:
dv1394.c: video->sem (simple mutex-type semaphore) highlevel.c: hl_drivers_sem (RW semaphore) ieee1394_transactions.c: tp->count (counting semaphore) nodemgr.c: subsys.rwsem (driver core's RW semaphores) raw1394.c: fi->complete_sem (completion semaphore) -- Stefan Richter -=====-=-==- -==- =--=- http://arcgraph.de/sr/
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |