ieee1394: nodemgr: misc API conversions
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest6 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | ieee1394: nodemgr: remove unnecessary includesdrivers/ | +0 | 0 replies | |
| 2/6 | ieee1394: do not spawn a kernel_thread for user-initiated bus rescandrivers/ | +2 | 0 replies | |
| 3/6 | ieee1394: make module parameter ignore_drivers writabledrivers/ | +1 | 0 replies | |
| 4/6 | ieee1394: nodemgr: switch to kthread APIdrivers/ | +27 | 0 replies | |
| 5/6 | ieee1394: nodemgr: replace reset semaphoredrivers/ | +23 | 0 replies | |
| 6/6 | ieee1394: convert nodemgr_serialize semaphore to mutexdrivers/ | +5 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [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)
Signature · 3 lines
Stefan Richter -=====-=-==- -==- =--=- http://arcgraph.de/sr/