Re: [PATCH] cpci_hotplug: Convert to use the kthread API

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Christoph Hellwig
Date: Sunday, April 22, 2007 - 5:05 am

On Thu, Apr 19, 2007 at 12:55:29AM -0600, Eric W. Biederman wrote:

This drivers thread are a bit of a miss, although a lot better than
most other pci hotplug drivers :)

Below is more complete conversion to the kthread infrastructure +
wake_up_process to wake the thread.  Note that we had to keep
a thread_finished variable because the existing one had dual use.


Signed-off-by: Christoph Hellwig <hch@lst.de>

Index: linux-2.6/drivers/pci/hotplug/cpci_hotplug_core.c
===================================================================
--- linux-2.6.orig/drivers/pci/hotplug/cpci_hotplug_core.c	2007-04-22 12:54:17.000000000 +0200
+++ linux-2.6/drivers/pci/hotplug/cpci_hotplug_core.c	2007-04-22 13:01:42.000000000 +0200
@@ -35,6 +35,7 @@
 #include <linux/smp_lock.h>
 #include <asm/atomic.h>
 #include <linux/delay.h>
+#include <linux/kthread.h>
 #include "cpci_hotplug.h"
 
 #define DRIVER_AUTHOR	"Scott Murray <scottm@somanetworks.com>"
@@ -59,9 +60,8 @@ static int slots;
 static atomic_t extracting;
 int cpci_debug;
 static struct cpci_hp_controller *controller;
-static struct semaphore event_semaphore;	/* mutex for process loop (up if something to process) */
-static struct semaphore thread_exit;		/* guard ensure thread has exited before calling it quits */
-static int thread_finished = 1;
+static struct task_struct *cpci_thread;
+static int thread_finished;
 
 static int enable_slot(struct hotplug_slot *slot);
 static int disable_slot(struct hotplug_slot *slot);
@@ -357,9 +357,7 @@ cpci_hp_intr(int irq, void *data)
 	controller->ops->disable_irq();
 
 	/* Trigger processing by the event thread */
-	dbg("Signal event_semaphore");
-	up(&event_semaphore);
-	dbg("exited cpci_hp_intr");
+	wake_up_process(cpci_thread);
 	return IRQ_HANDLED;
 }
 
@@ -521,17 +519,12 @@ event_thread(void *data)
 {
 	int rc;
 
-	lock_kernel();
-	daemonize("cpci_hp_eventd");
-	unlock_kernel();
-
 	dbg("%s - event thread started", __FUNCTION__);
 	while (1) {
 		dbg("event thread sleeping");
-		down_interruptible(&event_semaphore);
-		dbg("event thread woken, thread_finished = %d",
-		    thread_finished);
-		if (thread_finished || signal_pending(current))
+		set_current_state(TASK_INTERRUPTIBLE);
+		schedule();
+		if (kthread_should_stop())
 			break;
 		do {
 			rc = check_slots();
@@ -541,18 +534,17 @@ event_thread(void *data)
 			} else if (rc < 0) {
 				dbg("%s - error checking slots", __FUNCTION__);
 				thread_finished = 1;
-				break;
+				goto out;
 			}
-		} while (atomic_read(&extracting) && !thread_finished);
-		if (thread_finished)
+		} while (atomic_read(&extracting) && !kthread_should_stop());
+		if (kthread_should_stop())
 			break;
 
 		/* Re-enable ENUM# interrupt */
 		dbg("%s - re-enabling irq", __FUNCTION__);
 		controller->ops->enable_irq();
 	}
-	dbg("%s - event thread signals exit", __FUNCTION__);
-	up(&thread_exit);
+ out:
 	return 0;
 }
 
@@ -562,12 +554,8 @@ poll_thread(void *data)
 {
 	int rc;
 
-	lock_kernel();
-	daemonize("cpci_hp_polld");
-	unlock_kernel();
-
 	while (1) {
-		if (thread_finished || signal_pending(current))
+		if (kthread_should_stop() || signal_pending(current))
 			break;
 		if (controller->ops->query_enum()) {
 			do {
@@ -578,48 +566,34 @@ poll_thread(void *data)
 				} else if (rc < 0) {
 					dbg("%s - error checking slots", __FUNCTION__);
 					thread_finished = 1;
-					break;
+					goto out;
 				}
-			} while (atomic_read(&extracting) && !thread_finished);
+			} while (atomic_read(&extracting) && !kthread_should_stop());
 		}
 		msleep(100);
 	}
-	dbg("poll thread signals exit");
-	up(&thread_exit);
+ out:
 	return 0;
 }
 
 static int
 cpci_start_thread(void)
 {
-	int pid;
-
-	/* initialize our semaphores */
-	init_MUTEX_LOCKED(&event_semaphore);
-	init_MUTEX_LOCKED(&thread_exit);
-	thread_finished = 0;
-
 	if (controller->irq)
-		pid = kernel_thread(event_thread, NULL, 0);
+		cpci_thread = kthread_run(event_thread, NULL, "cpci_hp_eventd");
 	else
-		pid = kernel_thread(poll_thread, NULL, 0);
-	if (pid < 0) {
+		cpci_thread = kthread_run(poll_thread, NULL, "cpci_hp_polld");
+	if (IS_ERR(cpci_thread)) {
 		err("Can't start up our thread");
-		return -1;
+		return PTR_ERR(cpci_thread);
 	}
-	dbg("Our thread pid = %d", pid);
 	return 0;
 }
 
 static void
 cpci_stop_thread(void)
 {
-	thread_finished = 1;
-	dbg("thread finish command given");
-	if (controller->irq)
-		up(&event_semaphore);
-	dbg("wait for thread to exit");
-	down(&thread_exit);
+	kthread_stop(cpci_thread);
 }
 
 int
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Remaining straight forward kthread API conversions..., Eric W. Biederman, (Wed Apr 18, 11:52 pm)
[PATCH] i386 balance_irq: Convert to the kthread api., Eric W. Biederman, (Wed Apr 18, 11:55 pm)
[PATCH] i386 voyager: Convert the monitor thread to use th ..., Eric W. Biederman, (Wed Apr 18, 11:55 pm)
[PATCH] mtd_blkdevs: Convert to use the kthread API, Eric W. Biederman, (Wed Apr 18, 11:55 pm)
[PATCH] cpci_hotplug: Convert to use the kthread API, Eric W. Biederman, (Wed Apr 18, 11:55 pm)
[PATCH] ibmphp: Convert to use the kthreads API, Eric W. Biederman, (Wed Apr 18, 11:55 pm)
[PATCH] cpqphp: Convert to use the kthread API, Eric W. Biederman, (Wed Apr 18, 11:55 pm)
[PATCH] pnpbios: Conert to use the kthread API., Eric W. Biederman, (Wed Apr 18, 11:55 pm)
[PATCH] sas_scsi_host: Convert to use the kthread API, Eric W. Biederman, (Wed Apr 18, 11:55 pm)
[PATCH] sparc64/power.c: Convert to use the kthread API, Eric W. Biederman, (Wed Apr 18, 11:55 pm)
[PATCH] s390/net/lcs: Convert to the kthread API, Eric W. Biederman, (Wed Apr 18, 11:55 pm)
[PATCH] s390 qeth: Convert to use the kthread API, Eric W. Biederman, (Wed Apr 18, 11:55 pm)
[PATCH] s390/scsi/zfcp_erp: Convert to use the kthread API, Eric W. Biederman, (Wed Apr 18, 11:55 pm)
[PATCH] arm ecard: Conver to use the kthread API., Eric W. Biederman, (Wed Apr 18, 11:55 pm)
[PATCH] ia64 sn xpc: Convert to use kthread API., Eric W. Biederman, (Wed Apr 18, 11:55 pm)
[PATCH] powerpc pseries eeh: Convert to kthread API, Eric W. Biederman, (Wed Apr 18, 11:55 pm)
[PATCH] powerpc pseries rtasd: Convert to kthread API., Eric W. Biederman, (Wed Apr 18, 11:55 pm)
[PATCH] macintosh/therm_pm72.c: Convert to kthread API., Eric W. Biederman, (Wed Apr 18, 11:55 pm)
[PATCH] macintosh/therm_windtunnel.c: Convert to kthread API., Eric W. Biederman, (Wed Apr 18, 11:55 pm)
[PATCH] macintosh/adb: Convert to the kthread API, Eric W. Biederman, (Wed Apr 18, 11:55 pm)
[PATCH] macintosh/mediabay: Convert to kthread API., Eric W. Biederman, (Wed Apr 18, 11:55 pm)
[PATCH] bluetooth bnep: Convert to kthread API., Eric W. Biederman, (Wed Apr 18, 11:55 pm)
[PATCH] bluetooth cmtp: Convert to use kthread API., Eric W. Biederman, (Wed Apr 18, 11:55 pm)
[PATCH] bluetooth hidp: Convert to kthread API., Eric W. Biederman, (Wed Apr 18, 11:55 pm)
[PATCH] bluetooth rfcomm: Convert to kthread API., Eric W. Biederman, (Wed Apr 18, 11:55 pm)
[PATCH] fs/afs: Convert to kthread API., Eric W. Biederman, (Wed Apr 18, 11:55 pm)
[PATCH] net/rxrpc: Convert to kthread API., Eric W. Biederman, (Wed Apr 18, 11:55 pm)
[PATCH] ipv4/ipvs: Convert to kthread API, Eric W. Biederman, (Wed Apr 18, 11:55 pm)
[PATCH] saa7134-tvaudio: Convert to kthread API., Eric W. Biederman, (Wed Apr 18, 11:55 pm)
[PATCH] nfs lockd reclaimer: Convert to kthread API, Eric W. Biederman, (Wed Apr 18, 11:55 pm)
[PATCH] nfsv4 delegation: Convert to kthread API, Eric W. Biederman, (Wed Apr 18, 11:55 pm)
[PATCH] nfsd/nfs4state: Remove unnecessary daemonize call., Eric W. Biederman, (Wed Apr 18, 11:55 pm)
[PATCH] nfs4state reclaimer: Remove unnecessary allow_signal, Eric W. Biederman, (Wed Apr 18, 11:55 pm)
[PATCH] smbfs: Remove unnecessary allow_signal, Eric W. Biederman, (Wed Apr 18, 11:55 pm)
[PATCH] dvb_en_50221: Convert to kthread API, Eric W. Biederman, (Wed Apr 18, 11:55 pm)
[PATCH] md: Remove broken SIGKILL support, Eric W. Biederman, (Wed Apr 18, 11:56 pm)
[PATCH] synchro_test: Convert to the kthread API., Eric W. Biederman, (Wed Apr 18, 11:56 pm)
[PATCH] synchro_test: Convert to the kthread API., Eric W. Biederman, (Wed Apr 18, 11:56 pm)
[PATCH] i386 balance_irq: Convert to the kthread api., Eric W. Biederman, (Thu Apr 19, 12:58 am)
[PATCH] i386 voyager: Convert the monitor thread to use th ..., Eric W. Biederman, (Thu Apr 19, 12:58 am)
[PATCH] mtd_blkdevs: Convert to use the kthread API, Eric W. Biederman, (Thu Apr 19, 12:58 am)
[PATCH] cpci_hotplug: Convert to use the kthread API, Eric W. Biederman, (Thu Apr 19, 12:58 am)
[PATCH] ibmphp: Convert to use the kthreads API, Eric W. Biederman, (Thu Apr 19, 12:58 am)
[PATCH] cpqphp: Convert to use the kthread API, Eric W. Biederman, (Thu Apr 19, 12:58 am)
[PATCH] pnpbios: Conert to use the kthread API., Eric W. Biederman, (Thu Apr 19, 12:58 am)
[PATCH] sas_scsi_host: Convert to use the kthread API, Eric W. Biederman, (Thu Apr 19, 12:58 am)
[PATCH] sparc64/power.c: Convert to use the kthread API, Eric W. Biederman, (Thu Apr 19, 12:58 am)
[PATCH] s390/net/lcs: Convert to the kthread API, Eric W. Biederman, (Thu Apr 19, 12:58 am)
[PATCH] s390 qeth: Convert to use the kthread API, Eric W. Biederman, (Thu Apr 19, 12:58 am)
[PATCH] s390/scsi/zfcp_erp: Convert to use the kthread API, Eric W. Biederman, (Thu Apr 19, 12:58 am)
[PATCH] arm ecard: Conver to use the kthread API., Eric W. Biederman, (Thu Apr 19, 12:58 am)
[PATCH] ia64 sn xpc: Convert to use kthread API., Eric W. Biederman, (Thu Apr 19, 12:58 am)
[PATCH] powerpc pseries eeh: Convert to kthread API, Eric W. Biederman, (Thu Apr 19, 12:58 am)
[PATCH] powerpc pseries rtasd: Convert to kthread API., Eric W. Biederman, (Thu Apr 19, 12:58 am)
[PATCH] macintosh/therm_pm72.c: Convert to kthread API., Eric W. Biederman, (Thu Apr 19, 12:58 am)
[PATCH] macintosh/therm_windtunnel.c: Convert to kthread API., Eric W. Biederman, (Thu Apr 19, 12:58 am)
[PATCH] macintosh/adb: Convert to the kthread API, Eric W. Biederman, (Thu Apr 19, 12:58 am)
[PATCH] macintosh/mediabay: Convert to kthread API., Eric W. Biederman, (Thu Apr 19, 12:58 am)
[PATCH] bluetooth bnep: Convert to kthread API., Eric W. Biederman, (Thu Apr 19, 12:58 am)
[PATCH] bluetooth cmtp: Convert to use kthread API., Eric W. Biederman, (Thu Apr 19, 12:58 am)
[PATCH] bluetooth hidp: Convert to kthread API., Eric W. Biederman, (Thu Apr 19, 12:58 am)
[PATCH] bluetooth rfcomm: Convert to kthread API., Eric W. Biederman, (Thu Apr 19, 12:58 am)
[PATCH] fs/afs: Convert to kthread API., Eric W. Biederman, (Thu Apr 19, 12:58 am)
[PATCH] net/rxrpc: Convert to kthread API., Eric W. Biederman, (Thu Apr 19, 12:58 am)
[PATCH] ipv4/ipvs: Convert to kthread API, Eric W. Biederman, (Thu Apr 19, 12:58 am)
[PATCH] saa7134-tvaudio: Convert to kthread API., Eric W. Biederman, (Thu Apr 19, 12:58 am)
[PATCH] nfs lockd reclaimer: Convert to kthread API, Eric W. Biederman, (Thu Apr 19, 12:58 am)
[PATCH] nfsv4 delegation: Convert to kthread API, Eric W. Biederman, (Thu Apr 19, 12:59 am)
[PATCH] nfsd/nfs4state: Remove unnecessary daemonize call., Eric W. Biederman, (Thu Apr 19, 12:59 am)
[PATCH] nfs4state reclaimer: Remove unnecessary allow_signal, Eric W. Biederman, (Thu Apr 19, 12:59 am)
[PATCH] smbfs: Remove unnecessary allow_signal, Eric W. Biederman, (Thu Apr 19, 12:59 am)
[PATCH] dvb_en_50221: Convert to kthread API, Eric W. Biederman, (Thu Apr 19, 12:59 am)
[PATCH] md: Remove broken SIGKILL support, Eric W. Biederman, (Thu Apr 19, 12:59 am)
[PATCH] synchro_test: Convert to the kthread API., Eric W. Biederman, (Thu Apr 19, 12:59 am)
[PATCH] synchro_test: Convert to the kthread API., Eric W. Biederman, (Thu Apr 19, 12:59 am)
Re: [PATCH] s390/net/lcs: Convert to the kthread API, Frank Pavlic, (Thu Apr 19, 1:19 am)
Re: [PATCH] ipv4/ipvs: Convert to kthread API, Simon Horman, (Thu Apr 19, 2:04 am)
Re: [PATCH] fs/afs: Convert to kthread API. , David Howells, (Thu Apr 19, 2:32 am)
Re: [PATCH] net/rxrpc: Convert to kthread API. , David Howells, (Thu Apr 19, 2:32 am)
Re: [PATCH] net/rxrpc: Convert to kthread API., Eric W. Biederman, (Thu Apr 19, 6:05 am)
Getting the new RxRPC patches upstream, David Howells, (Thu Apr 19, 7:18 am)
Re: Getting the new RxRPC patches upstream, Eric W. Biederman, (Thu Apr 19, 8:50 am)
Re: Getting the new RxRPC patches upstream , David Howells, (Thu Apr 19, 9:18 am)
Re: [PATCH] nfs lockd reclaimer: Convert to kthread API, Trond Myklebust, (Thu Apr 19, 9:21 am)
Re: [PATCH] nfsv4 delegation: Convert to kthread API, Trond Myklebust, (Thu Apr 19, 9:22 am)
Re: [PATCH] mtd_blkdevs: Convert to use the kthread API, Christoph Hellwig, (Thu Apr 19, 9:47 am)
Re: [PATCH] mtd_blkdevs: Convert to use the kthread API, Eric W. Biederman, (Thu Apr 19, 12:13 pm)
Re: Getting the new RxRPC patches upstream, Eric W. Biederman, (Thu Apr 19, 12:14 pm)
Re: [PATCH] nfs lockd reclaimer: Convert to kthread API, Eric W. Biederman, (Thu Apr 19, 12:20 pm)
Re: Getting the new RxRPC patches upstream, David Miller, (Thu Apr 19, 1:14 pm)
Re: [PATCH] nfs lockd reclaimer: Convert to kthread API, Trond Myklebust, (Thu Apr 19, 2:19 pm)
Re: [PATCH] nfs lockd reclaimer: Convert to kthread API, Andrew Morton, (Thu Apr 19, 2:40 pm)
Re: [PATCH] nfs lockd reclaimer: Convert to kthread API, Trond Myklebust, (Thu Apr 19, 3:04 pm)
Re: [PATCH] mtd_blkdevs: Convert to use the kthread API, Andrew Morton, (Thu Apr 19, 3:26 pm)
Re: [PATCH] dvb_en_50221: Convert to kthread API, Andrew Morton, (Thu Apr 19, 3:34 pm)
Re: [PATCH] smbfs: Remove unnecessary allow_signal, Andrew Morton, (Thu Apr 19, 3:47 pm)
Re: [PATCH] saa7134-tvaudio: Convert to kthread API., Andrew Morton, (Thu Apr 19, 3:52 pm)
Re: [PATCH] ipv4/ipvs: Convert to kthread API, Andrew Morton, (Thu Apr 19, 3:59 pm)
Re: [PATCH] net/rxrpc: Convert to kthread API., Andrew Morton, (Thu Apr 19, 4:05 pm)
Re: [PATCH] bluetooth rfcomm: Convert to kthread API., Andrew Morton, (Thu Apr 19, 4:12 pm)
Re: [PATCH] bluetooth hidp: Convert to kthread API., Andrew Morton, (Thu Apr 19, 4:20 pm)
Re: [PATCH] bluetooth bnep: Convert to kthread API., Andrew Morton, (Thu Apr 19, 4:24 pm)
Re: [PATCH] macintosh/mediabay: Convert to kthread API., Andrew Morton, (Thu Apr 19, 4:30 pm)
Re: [PATCH] powerpc pseries eeh: Convert to kthread API, Andrew Morton, (Thu Apr 19, 4:47 pm)
Re: [PATCH] ia64 sn xpc: Convert to use kthread API., Andrew Morton, (Thu Apr 19, 4:51 pm)
Re: [PATCH] sas_scsi_host: Convert to use the kthread API, Andrew Morton, (Thu Apr 19, 5:37 pm)
Re: Getting the new RxRPC patches upstream, Herbert Xu, (Thu Apr 19, 6:15 pm)
Re: [PATCH] cpqphp: Convert to use the kthread API, Andrew Morton, (Thu Apr 19, 6:54 pm)
Re: [PATCH] ia64 sn xpc: Convert to use kthread API., Jes Sorensen, (Thu Apr 19, 11:23 pm)
Re: [PATCH] dvb_en_50221: Convert to kthread API, Christoph Hellwig, (Thu Apr 19, 11:37 pm)
Re: [PATCH] dvb_en_50221: Convert to kthread API, Andrew Morton, (Thu Apr 19, 11:48 pm)
Re: [PATCH] net/rxrpc: Convert to kthread API. , David Howells, (Fri Apr 20, 12:47 am)
Re: Getting the new RxRPC patches upstream , David Howells, (Fri Apr 20, 1:02 am)
Re: [PATCH] macintosh/mediabay: Convert to kthread API., Benjamin Herrenschmidt, (Fri Apr 20, 1:51 am)
Re: [PATCH] macintosh/therm_windtunnel.c: Convert to kthre ..., Benjamin Herrenschmidt, (Fri Apr 20, 1:53 am)
Re: Getting the new RxRPC patches upstream , David Miller, (Fri Apr 20, 1:58 am)
Re: [PATCH] dvb_en_50221: Convert to kthread API, Cedric Le Goater, (Fri Apr 20, 2:37 am)
Re: Getting the new RxRPC patches upstream , David Howells, (Fri Apr 20, 3:41 am)
Re: [PATCH] saa7134-tvaudio: Convert to kthread API., Cedric Le Goater, (Fri Apr 20, 5:48 am)
Re: [PATCH] saa7134-tvaudio: Convert to kthread API., Christoph Hellwig, (Fri Apr 20, 6:05 am)
Re: [PATCH] ia64 sn xpc: Convert to use kthread API., Robin Holt, (Fri Apr 20, 7:21 am)
Re: Getting the new RxRPC patches upstream, Andrew Morton, (Fri Apr 20, 11:38 am)
Re: Getting the new RxRPC patches upstream, Oleg Nesterov, (Fri Apr 20, 2:28 pm)
Re: [PATCH] nfs lockd reclaimer: Convert to kthread API, Eric W. Biederman, (Sat Apr 21, 12:04 pm)
Re: [PATCH] nfs lockd reclaimer: Convert to kthread API, Eric W. Biederman, (Sat Apr 21, 12:47 pm)
Re: [PATCH] ia64 sn xpc: Convert to use kthread API., Eric W. Biederman, (Sat Apr 21, 12:53 pm)
Re: [PATCH] cpci_hotplug: Convert to use the kthread API, Christoph Hellwig, (Sun Apr 22, 5:05 am)
Re: [PATCH] ibmphp: Convert to use the kthreads API, Christoph Hellwig, (Sun Apr 22, 5:09 am)
Re: [PATCH] cpqphp: Convert to use the kthread API, Christoph Hellwig, (Sun Apr 22, 5:12 am)
Re: Remaining straight forward kthread API conversions..., Christoph Hellwig, (Sun Apr 22, 5:15 am)
Re: [PATCH] mtd_blkdevs: Convert to use the kthread API, Christoph Hellwig, (Sun Apr 22, 5:24 am)
Re: [PATCH] powerpc pseries eeh: Convert to kthread API, Christoph Hellwig, (Sun Apr 22, 5:31 am)
Re: [PATCH] powerpc pseries rtasd: Convert to kthread API., Christoph Hellwig, (Sun Apr 22, 5:34 am)
Re: [PATCH] mtd_blkdevs: Convert to use the kthread API, David Woodhouse, (Sun Apr 22, 6:23 am)
Re: [PATCH] macintosh/therm_pm72.c: Convert to kthread API., Christoph Hellwig, (Sun Apr 22, 12:16 pm)
Re: [PATCH] mtd_blkdevs: Convert to use the kthread API, Christoph Hellwig, (Sun Apr 22, 12:26 pm)
Re: [PATCH] i386 voyager: Convert the monitor thread to us ..., Christoph Hellwig, (Sun Apr 22, 12:30 pm)
Re: [PATCH] sas_scsi_host: Convert to use the kthread API, Christoph Hellwig, (Sun Apr 22, 12:38 pm)
Re: [PATCH] mtd_blkdevs: Convert to use the kthread API, Christoph Hellwig, (Sun Apr 22, 12:40 pm)
Re: [PATCH] bluetooth bnep: Convert to kthread API., Christoph Hellwig, (Sun Apr 22, 12:44 pm)
Re: [PATCH] ipv4/ipvs: Convert to kthread API, Christoph Hellwig, (Sun Apr 22, 12:50 pm)
Re: [PATCH] bluetooth rfcomm: Convert to kthread API., Christoph Hellwig, (Sun Apr 22, 1:14 pm)
Re: [PATCH] s390/scsi/zfcp_erp: Convert to use the kthread API, Christoph Hellwig, (Sun Apr 22, 1:17 pm)
Re: [PATCH] arm ecard: Conver to use the kthread API., Christoph Hellwig, (Sun Apr 22, 1:18 pm)
Re: [PATCH] ia64 sn xpc: Convert to use kthread API., Christoph Hellwig, (Sun Apr 22, 1:36 pm)
Re: [PATCH] sas_scsi_host: Convert to use the kthread API, James Bottomley, (Sun Apr 22, 2:37 pm)
Re: [PATCH] sas_scsi_host: Convert to use the kthread API, Eric W. Biederman, (Sun Apr 22, 2:48 pm)
[PATCH] kthread: Spontaneous exit support, Eric W. Biederman, (Sun Apr 22, 8:12 pm)
Re: Getting the new RxRPC patches upstream , David Howells, (Mon Apr 23, 1:32 am)
Re: [PATCH] kthread: Spontaneous exit support, Christoph Hellwig, (Mon Apr 23, 4:25 am)
Re: [PATCH] kthread: Spontaneous exit support, Oleg Nesterov, (Mon Apr 23, 9:58 am)
Re: [PATCH] ia64 sn xpc: Convert to use kthread API., Jes Sorensen, (Mon Apr 23, 10:11 am)
Re: Getting the new RxRPC patches upstream, Oleg Nesterov, (Mon Apr 23, 10:11 am)
Re: [PATCH] ia64 sn xpc: Convert to use kthread API., Eric W. Biederman, (Mon Apr 23, 10:36 am)
Re: [PATCH] kthread: Spontaneous exit support, Eric W. Biederman, (Mon Apr 23, 10:45 am)
Re: [PATCH] kthread: Spontaneous exit support, Christoph Hellwig, (Mon Apr 23, 11:09 am)
Re: [PATCH] kthread: Spontaneous exit support, Oleg Nesterov, (Mon Apr 23, 11:20 am)
Re: [PATCH] ia64 sn xpc: Convert to use kthread API., Russ Anderson, (Mon Apr 23, 12:03 pm)
Re: [PATCH] powerpc pseries eeh: Convert to kthread API, Linas Vepstas, (Mon Apr 23, 1:50 pm)
Re: [PATCH] powerpc pseries eeh: Convert to kthread API, Benjamin Herrenschmidt, (Mon Apr 23, 6:38 pm)
Re: [PATCH] powerpc pseries eeh: Convert to kthread API, Eric W. Biederman, (Mon Apr 23, 7:08 pm)
Re: [PATCH] powerpc pseries eeh: Convert to kthread API, Benjamin Herrenschmidt, (Mon Apr 23, 7:42 pm)
Re: [PATCH] powerpc pseries eeh: Convert to kthread API, Eric W. Biederman, (Mon Apr 23, 8:20 pm)
Re: [PATCH] powerpc pseries eeh: Convert to kthread API, Paul Mackerras, (Mon Apr 23, 9:34 pm)
Re: [PATCH] powerpc pseries eeh: Convert to kthread API, Eric W. Biederman, (Mon Apr 23, 9:51 pm)
Re: [PATCH] powerpc pseries eeh: Convert to kthread API, Benjamin Herrenschmidt, (Mon Apr 23, 10:00 pm)
Re: [PATCH] powerpc pseries eeh: Convert to kthread API, Eric W. Biederman, (Mon Apr 23, 10:43 pm)
Re: [PATCH] powerpc pseries eeh: Convert to kthread API, Paul Mackerras, (Mon Apr 23, 10:55 pm)
Re: [PATCH] powerpc pseries eeh: Convert to kthread API, Benjamin Herrenschmidt, (Mon Apr 23, 10:58 pm)
SOME STUFF ABOUT REISER4, lkml777, (Mon Apr 23, 11:17 pm)
Re: [PATCH] powerpc pseries eeh: Convert to kthread API, Cornelia Huck, (Tue Apr 24, 12:46 am)
Re: [PATCH] powerpc pseries eeh: Convert to kthread API, Christoph Hellwig, (Tue Apr 24, 1:37 am)
Re: [PATCH] kthread: Spontaneous exit support, Jan Engelhardt, (Tue Apr 24, 6:08 am)
Re: [PATCH] kthread: Spontaneous exit support, Christoph Hellwig, (Tue Apr 24, 6:34 am)
Re: Getting the new RxRPC patches upstream , David Howells, (Tue Apr 24, 6:37 am)
Re: Getting the new RxRPC patches upstream, Oleg Nesterov, (Tue Apr 24, 7:22 am)
Re: Getting the new RxRPC patches upstream , David Howells, (Tue Apr 24, 8:51 am)
Re: Getting the new RxRPC patches upstream, Oleg Nesterov, (Tue Apr 24, 9:40 am)
Re: Getting the new RxRPC patches upstream , David Howells, (Tue Apr 24, 9:58 am)
Re: [PATCH] powerpc pseries eeh: Convert to kthread API, Linas Vepstas, (Tue Apr 24, 10:24 am)
Re: SOME STUFF ABOUT REISER4, Eric M. Hopper, (Tue Apr 24, 10:26 am)
Re: Getting the new RxRPC patches upstream, Oleg Nesterov, (Tue Apr 24, 10:33 am)
Re: [PATCH] powerpc pseries eeh: Convert to kthread API, Linas Vepstas, (Tue Apr 24, 10:35 am)
Re: Getting the new RxRPC patches upstream , David Howells, (Tue Apr 24, 11:22 am)
Re: Getting the new RxRPC patches upstream, Oleg Nesterov, (Tue Apr 24, 12:34 pm)
Re: Getting the new RxRPC patches upstream , David Howells, (Wed Apr 25, 1:10 am)
Re: Getting the new RxRPC patches upstream, Oleg Nesterov, (Wed Apr 25, 3:41 am)
Re: Getting the new RxRPC patches upstream , David Howells, (Wed Apr 25, 3:45 am)
Re: Getting the new RxRPC patches upstream , David Howells, (Wed Apr 25, 6:48 am)
Re: [PATCH] ia64 sn xpc: Convert to use kthread API., Dean Nelson, (Thu Apr 26, 1:00 pm)
Re: [PATCH] ia64 sn xpc: Convert to use kthread API., Dean Nelson, (Fri Apr 27, 10:41 am)
Re: [PATCH] ia64 sn xpc: Convert to use kthread API., Eric W. Biederman, (Fri Apr 27, 11:34 am)
Re: [PATCH] ia64 sn xpc: Convert to use kthread API., Dean Nelson, (Fri Apr 27, 1:12 pm)
Re: [PATCH] ia64 sn xpc: Convert to use kthread API., Eric W. Biederman, (Fri Apr 27, 1:33 pm)
Re: [PATCH] ia64 sn xpc: Convert to use kthread API., Dean Nelson, (Mon Apr 30, 8:22 am)
Re: [PATCH] ia64 sn xpc: Convert to use kthread API., Dean Nelson, (Wed May 2, 8:16 am)
Re: [PATCH] ia64 sn xpc: Convert to use kthread API., Eric W. Biederman, (Wed May 2, 8:44 am)
Re: [PATCH] cpci_hotplug: Convert to use the kthread API, Christoph Hellwig, (Fri May 4, 4:12 am)
Re: [PATCH] cpci_hotplug: Convert to use the kthread API, Kristen Carlson Accardi, (Wed May 9, 5:00 pm)
Re: [PATCH] cpci_hotplug: Convert to use the kthread API, Scott Murray, (Thu May 10, 11:29 am)
Re: [PATCH] cpci_hotplug: Convert to use the kthread API, Andrew Morton, (Thu May 10, 12:30 pm)
Re: [PATCH] ia64 sn xpc: Convert to use kthread API., Dean Nelson, (Thu May 17, 6:44 am)