]> CyberLeo.Net >> Repos - FreeBSD/stable/9.git/commit
MFC r234952:
authorkib <kib@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 10 May 2012 10:02:56 +0000 (10:02 +0000)
committerkib <kib@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 10 May 2012 10:02:56 +0000 (10:02 +0000)
commitb023641ba162770ebcdbe2aa848ee41dfe25f114
treebc75b2beb1e5bae6b55a6cd01b843c51a898bba9
parent09b9dd5305f88353ccb92cd7c8cfa184071e998a
MFC r234952:
Mark the migrating callouts with CALLOUT_DFRMIGRATION flag. The flag is
cleared by callout_stop_safe() when the function detects a migration,
besides returning the success. The softclock() rechecks the flag for
migrating callout and cancels its execution if the flag was cleared
meantime.

PR: misc/166340

git-svn-id: svn://svn.freebsd.org/base/stable/9@235220 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/kern/kern_timeout.c
sys/sys/callout.h