[PATCH 2.6.17-rc6-mm2 0/6] ieee1394: nodemgr: misc API conversions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux