Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 6 Nov 2010 12:41:47 +0000 (UTC)
From:      Lawrence Stewart <lstewart@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-7@freebsd.org
Subject:   svn commit: r214874 - stable/7/sys/kern
Message-ID:  <201011061241.oA6Cflv9031302@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: lstewart
Date: Sat Nov  6 12:41:47 2010
New Revision: 214874
URL: http://svn.freebsd.org/changeset/base/214874

Log:
  The kthread/kproc KPI differs between 7.x and 8.x+ and requires the use of
  kthread_exit() in order to get a wakeup delivered to the "struct proc *" which
  ALQ relies on.
  
  This is an intentional direct commit to the 7-STABLE branch.

Modified:
  stable/7/sys/kern/kern_alq.c

Modified: stable/7/sys/kern/kern_alq.c
==============================================================================
--- stable/7/sys/kern/kern_alq.c	Sat Nov  6 11:38:49 2010	(r214873)
+++ stable/7/sys/kern/kern_alq.c	Sat Nov  6 12:41:47 2010	(r214874)
@@ -220,7 +220,7 @@ ald_daemon(void)
 		ALD_LOCK();
 	}
 
-	kproc_exit(0);
+	kthread_exit(0);
 }
 
 static void



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201011061241.oA6Cflv9031302>