public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Allow deferrable timers for intervals tv2-tv5 to be deferred
@ 2009-04-09 14:54 Jon Hunter
  2009-04-09 16:18 ` Pallipadi, Venkatesh
  0 siblings, 1 reply; 4+ messages in thread
From: Jon Hunter @ 2009-04-09 14:54 UTC (permalink / raw)
  To: linux-kernel; +Cc: venkatesh.pallipadi

In the current kernel implementation only kernel timers for time 
interval tv1 are being deferred. This patch allows any timer that is 
configured as deferrable to be defer regardless of time interval.

This patch was previously discussed on another the thread [1] and Ack'ed 
  by Venki Pallipadi the author of the original deferrable timer patch.

Venki, could you also ack this patch for confirmation?

Cheers
Jon

[1] http://marc.info/?l=linux-kernel&m=123196343531966&w=2


Signed-off-by: Jon Hunter <jon-hunter@ti.com>
---
  kernel/timer.c |    3 +++
  1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/kernel/timer.c b/kernel/timer.c
index b455556..6ab6e96 100644
--- a/kernel/timer.c
+++ b/kernel/timer.c
@@ -1012,6 +1012,9 @@ cascade:
  		index = slot = timer_jiffies & TVN_MASK;
  		do {
  			list_for_each_entry(nte, varp->vec + slot, entry) {
+				if (tbase_get_deferrable(nte->base))
+					continue;
+
  				found = 1;
  				if (time_before(nte->expires, expires))
  					expires = nte->expires;
-- 
1.6.1

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH] Allow deferrable timers for intervals tv2-tv5 to be deferred
  2009-04-09 14:54 [PATCH] Allow deferrable timers for intervals tv2-tv5 to be deferred Jon Hunter
@ 2009-04-09 16:18 ` Pallipadi, Venkatesh
  2009-05-12  4:11   ` ye janboe
  0 siblings, 1 reply; 4+ messages in thread
From: Pallipadi, Venkatesh @ 2009-04-09 16:18 UTC (permalink / raw)
  To: Jon Hunter; +Cc: linux-kernel@vger.kernel.org

On Thu, 2009-04-09 at 07:54 -0700, Jon Hunter wrote:
> In the current kernel implementation only kernel timers for time 
> interval tv1 are being deferred. This patch allows any timer that is 
> configured as deferrable to be defer regardless of time interval.
> 
> This patch was previously discussed on another the thread [1] and Ack'ed 
>   by Venki Pallipadi the author of the original deferrable timer patch.
> 
> Venki, could you also ack this patch for confirmation?
> 
> Cheers
> Jon
> 
> [1] http://marc.info/?l=linux-kernel&m=123196343531966&w=2
> 
> 

Acked-by: Venkatesh Pallipadi <venkatesh.pallipadi@intel.com>

> Signed-off-by: Jon Hunter <jon-hunter@ti.com>
> ---
>   kernel/timer.c |    3 +++
>   1 files changed, 3 insertions(+), 0 deletions(-)
> 
> diff --git a/kernel/timer.c b/kernel/timer.c
> index b455556..6ab6e96 100644
> --- a/kernel/timer.c
> +++ b/kernel/timer.c
> @@ -1012,6 +1012,9 @@ cascade:
>   		index = slot = timer_jiffies & TVN_MASK;
>   		do {
>   			list_for_each_entry(nte, varp->vec + slot, entry) {
> +				if (tbase_get_deferrable(nte->base))
> +					continue;
> +
>   				found = 1;
>   				if (time_before(nte->expires, expires))
>   					expires = nte->expires;


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] Allow deferrable timers for intervals tv2-tv5 to be  deferred
  2009-04-09 16:18 ` Pallipadi, Venkatesh
@ 2009-05-12  4:11   ` ye janboe
  2009-05-13  0:18     ` Jon Hunter
  0 siblings, 1 reply; 4+ messages in thread
From: ye janboe @ 2009-05-12  4:11 UTC (permalink / raw)
  To: Pallipadi, Venkatesh; +Cc: Jon Hunter, linux-kernel@vger.kernel.org

hi, Jon, Venki

This patch is same as Jouni Hogander's which has been acked by Venki
at 30 Jun 2008.
http://linux.derkeiler.com/Mailing-Lists/Kernel/2008-06/msg11866.html

why Jouni Hogander's patch could not be accepted by LKML?

Thanks

Janboe

2009/4/10 Pallipadi, Venkatesh <venkatesh.pallipadi@intel.com>:
> On Thu, 2009-04-09 at 07:54 -0700, Jon Hunter wrote:
>> In the current kernel implementation only kernel timers for time
>> interval tv1 are being deferred. This patch allows any timer that is
>> configured as deferrable to be defer regardless of time interval.
>>
>> This patch was previously discussed on another the thread [1] and Ack'ed
>>   by Venki Pallipadi the author of the original deferrable timer patch.
>>
>> Venki, could you also ack this patch for confirmation?
>>
>> Cheers
>> Jon
>>
>> [1] http://marc.info/?l=linux-kernel&m=123196343531966&w=2
>>
>>
>
> Acked-by: Venkatesh Pallipadi <venkatesh.pallipadi@intel.com>
>
>> Signed-off-by: Jon Hunter <jon-hunter@ti.com>
>> ---
>>   kernel/timer.c |    3 +++
>>   1 files changed, 3 insertions(+), 0 deletions(-)
>>
>> diff --git a/kernel/timer.c b/kernel/timer.c
>> index b455556..6ab6e96 100644
>> --- a/kernel/timer.c
>> +++ b/kernel/timer.c
>> @@ -1012,6 +1012,9 @@ cascade:
>>               index = slot = timer_jiffies & TVN_MASK;
>>               do {
>>                       list_for_each_entry(nte, varp->vec + slot, entry) {
>> +                             if (tbase_get_deferrable(nte->base))
>> +                                     continue;
>> +
>>                               found = 1;
>>                               if (time_before(nte->expires, expires))
>>                                       expires = nte->expires;
>
> --
> 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/
>

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] Allow deferrable timers for intervals tv2-tv5 to be  deferred
  2009-05-12  4:11   ` ye janboe
@ 2009-05-13  0:18     ` Jon Hunter
  0 siblings, 0 replies; 4+ messages in thread
From: Jon Hunter @ 2009-05-13  0:18 UTC (permalink / raw)
  To: ye janboe; +Cc: Pallipadi, Venkatesh, linux-kernel@vger.kernel.org


ye janboe wrote:
> This patch is same as Jouni Hogander's which has been acked by Venki
> at 30 Jun 2008.
> http://linux.derkeiler.com/Mailing-Lists/Kernel/2008-06/msg11866.html
> 
> why Jouni Hogander's patch could not be accepted by LKML?

Before posting the patch I did search the archives but I did not come 
across Jouni's patch. Otherwise I probably would have reference this 
when posting this patch. Anyway, I am not sure why this was not accepted 
originally. It does not appear anyone responded to this. Sorry I cannot 
help more here.

Cheers
Jon

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-05-13  0:18 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-09 14:54 [PATCH] Allow deferrable timers for intervals tv2-tv5 to be deferred Jon Hunter
2009-04-09 16:18 ` Pallipadi, Venkatesh
2009-05-12  4:11   ` ye janboe
2009-05-13  0:18     ` Jon Hunter

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox