[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <a24804730905170050m16bfb81cj6c9ee4c99ac9d08f@mail.gmail.com>
Date: Sun, 17 May 2009 00:50:55 -0700
From: Chris Peterson <cpeterso@...terso.com>
To: Andrew Morton <akpm@...ux-foundation.org>
Cc: linux-kernel@...r.kernel.org, tglx@...utronix.de
Subject: Re: [RFC] mod_timer() helper functions?
>> Reviewing the kernel's nearly one-thousand calls to mod_timer(), there
>> are three basic patterns:
>>
>> * multi-second timeouts
>> * millisecond timeouts
>> * +1 jiffie ASAP events
>>
Is there a functional difference between the following "expire this
timer ASAP" statements?
mod_timer(timer, jiffies + 1); /* 48 uses */
mod_timer(timer, jiffies); /* 44 uses */
mod_timer(timer, jiffies - 1); /* 6 uses */
chris
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists