If the timer is close to expiring, you may have a race with that, but,
in any case, you should be able to just change the function pointer in
the timer structure. If you are too late, you will find the timer is
free (test by looking for NULL in the list pointer). The system does
not use or look at the function pointer until it is about to make the
call, i.e. when the timer expires. You do not have to call any timer
routine to do this, though many would say it is not good practice.
George
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/