LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [RFC PATCH 3/4] timers: identifying cpu-pinned hrtimer.
@ 2008-10-16 11:50 Arun R Bharadwaj
  0 siblings, 0 replies; only message in thread
From: Arun R Bharadwaj @ 2008-10-16 11:50 UTC (permalink / raw)
  To: linux-kernel, linux-pm
  Cc: a.p.zijlstra, ego, tglx, mingo, andi, venkatesh.pallipadi, vatsa,
	arjan, arun

This patch identifies the cpu-pinned hrtimer in kernel/sched.c


Signed-off-by: Arun R Bharadwaj <arun@linux.vnet.ibm.com>
---
 kernel/sched.c |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Index: linux-2.6.27/kernel/sched.c
===================================================================
--- linux-2.6.27.orig/kernel/sched.c
+++ linux-2.6.27/kernel/sched.c
@@ -1099,7 +1099,8 @@ static __init void init_hrtick(void)
  */
 static void hrtick_start(struct rq *rq, u64 delay)
 {
-	hrtimer_start(&rq->hrtick_timer, ns_to_ktime(delay), HRTIMER_MODE_REL);
+	hrtimer_start_pinned(&rq->hrtick_timer, ns_to_ktime(delay),
+				HRTIMER_MODE_REL);
 }
 
 static void init_hrtick(void)

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-10-16 11:51 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-10-16 11:50 [RFC PATCH 3/4] timers: identifying cpu-pinned hrtimer Arun R Bharadwaj

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).