[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] One issue in kill_timer



Currently kill_timer assume the timer is either active/inactive. However, 
sometimes caller have called kill_timer already. The latter one may cause crash 
because the timer's list has been delted and cause list_del(&timer->inactive) 
failed. 

BTW, I'm curios why TIMER_STATUS_killed > TIMER_STATUS_inactive? Per my 
understanding, the timer status should be invalid->uninitied->inactive->active 
(heap or list), so IMO TIMER_STATUS_killed should be < TIMER_STATUS_inactive.

Thanks
--jyh


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.