> set_current_state(TASK_{,UN}INTERRUPTIBLE);> schedule_timeout(msecs_to_jiffies(some_constant_msecs));> > just have an interface that allows> > schedule_timeout_msecs_{,un}interruptible(some_constant_msecs);> > and push the jiffies conversion to common code?

What's wrong with just:

schedule_timeout_{,un}interruptible(msecs_to_jiffies(some_constant_msecs));The majority of users use a constant, which can already be converted at compile tile.Additionally such an interface also had to return a ms value and instead of that constant conversion, the user is better off to work with jiffies directly.