On Fri, Aug 20, 2010 at 11:47 AM, Bret S. Lambert <bret.lamb...@gmail.com> wrote: > And this one, like that one, lacks context.
The hzto/tvtohz diff was just a const correctness fix. I didn't think it needed more context on its own. > What's the ultimate goal? Just to remove some calls to hzto? timeout(9) suggests avoiding using timeout_add(9) directly in favor of higher-level functions, and I think it's worth adding utility functions for common use patterns. I just noticed that a number of remaining timeout_add(9) calls were of the form timeout_add(..., hzto(&tv)). >From an abstraction point of view, I don't think it makes sense for so much code to needlessly know about "ticks".