Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 May 2018 11:26:41 +0000 (UTC)
From:      Hans Petter Selasky <hselasky@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r334283 - head/sys/compat/linuxkpi/common/include/linux
Message-ID:  <201805281126.w4SBQfFN042766@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: hselasky
Date: Mon May 28 11:26:40 2018
New Revision: 334283
URL: https://svnweb.freebsd.org/changeset/base/334283

Log:
  The schedule_timeout_killable() function should listen for signals
  in the LinuxKPI.
  
  Found by:	Johannes Lundberg <johalun0@gmail.com>
  MFC after:	1 week
  Sponsored by:	Mellanox Technologies

Modified:
  head/sys/compat/linuxkpi/common/include/linux/sched.h

Modified: head/sys/compat/linuxkpi/common/include/linux/sched.h
==============================================================================
--- head/sys/compat/linuxkpi/common/include/linux/sched.h	Mon May 28 10:55:09 2018	(r334282)
+++ head/sys/compat/linuxkpi/common/include/linux/sched.h	Mon May 28 11:26:40 2018	(r334283)
@@ -153,7 +153,7 @@ linux_schedule_get_interrupt_value(struct task_struct 
 #define	schedule_timeout(timeout)			\
 	linux_schedule_timeout(timeout)
 #define	schedule_timeout_killable(timeout)		\
-	schedule_timeout_uninterruptible(timeout)
+	schedule_timeout_interruptible(timeout)
 #define	schedule_timeout_interruptible(timeout) ({	\
 	set_current_state(TASK_INTERRUPTIBLE);		\
 	schedule_timeout(timeout);			\



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