Hi, On Wed, 27 Jul 2005, Nishanth Aravamudan wrote:
> > > My goal is to distinguish between these cases in sleeping-logic: > > > > > > 1) tick-oriented > > > use schedule_timeout(), add_timer(), etc. > > > > > > 2) time-oriented > > > use schedule_timeout_msecs() > > > > There is _no_ difference, the scheduler is based on ticks. Even if we soon > > have different time sources, the scheduler will continue to measure the > > time in ticks and for a simple reason - portability. Jiffies _are_ simple, > > don't throw that away. > > I agree that from an internal perspective there is no difference, but > from an *interface* perspective they are hugely different, simply on the > basis that one uses human-time units and one does not. > > I guess we must continue to agree to disagree. I'm not really sure, what you disagree about. 1 HZ is about one second, which I don't think is such a difficult concept. I already said wrapper functions are fine and for anything smaller than HZ/2 it's probably a good idea nowadays. My main point is to keep the core functionality in jiffies and provide some wrapper functions. What exactly do you disagree here on? bye, Roman - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/