]> CyberLeo.Net >> Repos - FreeBSD/stable/8.git/commit
MFC r234952:
authorkib <kib@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 10 May 2012 10:56:46 +0000 (10:56 +0000)
committerkib <kib@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 10 May 2012 10:56:46 +0000 (10:56 +0000)
commitc2c32189e35723cc4d1e2fc156702334b586d118
treebd6a91afcbd3b8d1237383ab6fc04720c14ad2f7
parentb88c31a3ac64a113a1c09366df5ea8d57f1f4cf1
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/8@235223 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/kern/kern_timeout.c
sys/sys/callout.h