mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Pallipadi, Venkatesh" <venkatesh.pallipadi@intel.com>
To: Jon Hunter <jon-hunter@ti.com>
Cc: "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] Allow deferrable timers for intervals tv2-tv5 to be deferred
Date: Thu, 09 Apr 2009 09:18:31 -0700	[thread overview]
Message-ID: <1239293911.4529.7144.camel@localhost.localdomain> (raw)
In-Reply-To: <49DE0C36.4070507@ti.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;


  reply	other threads:[~2009-04-09 16:21 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-09 14:54 Jon Hunter
2009-04-09 16:18 ` Pallipadi, Venkatesh [this message]
2009-05-12  4:11   ` ye janboe
2009-05-13  0:18     ` Jon Hunter

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1239293911.4529.7144.camel@localhost.localdomain \
    --to=venkatesh.pallipadi@intel.com \
    --cc=jon-hunter@ti.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®