public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Fix SCHED_HRTICK dependency
@ 2008-07-27 11:27 OGAWA Hirofumi
  2008-07-28 12:37 ` Ingo Molnar
  0 siblings, 1 reply; 2+ messages in thread
From: OGAWA Hirofumi @ 2008-07-27 11:27 UTC (permalink / raw)
  To: Ingo Molnar; +Cc: linux-kernel

Hi,

Currently, it seems SCHED_HRTICK allowed for !SMP. But, it seems to have
no dependency of it. So how about the following?

Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
---

 kernel/Kconfig.hz |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff -puN kernel/Kconfig.hz~sched_hrtick-dep-fix kernel/Kconfig.hz
--- linux-2.6/kernel/Kconfig.hz~sched_hrtick-dep-fix	2008-07-26 00:23:26.000000000 +0900
+++ linux-2.6-hirofumi/kernel/Kconfig.hz	2008-07-26 00:25:12.000000000 +0900
@@ -55,4 +55,4 @@ config HZ
 	default 1000 if HZ_1000
 
 config SCHED_HRTICK
-	def_bool HIGH_RES_TIMERS && USE_GENERIC_SMP_HELPERS
+	def_bool HIGH_RES_TIMERS && (!SMP || USE_GENERIC_SMP_HELPERS)
_

-- 
OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>

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

* Re: Fix SCHED_HRTICK dependency
  2008-07-27 11:27 Fix SCHED_HRTICK dependency OGAWA Hirofumi
@ 2008-07-28 12:37 ` Ingo Molnar
  0 siblings, 0 replies; 2+ messages in thread
From: Ingo Molnar @ 2008-07-28 12:37 UTC (permalink / raw)
  To: OGAWA Hirofumi; +Cc: linux-kernel, Peter Zijlstra


* OGAWA Hirofumi <hirofumi@mail.parknet.co.jp> wrote:

> Hi,
> 
> Currently, it seems SCHED_HRTICK allowed for !SMP. But, it seems to 
> have no dependency of it. So how about the following?

applied to tip/sched/urgent, thanks!

	Ingo

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

end of thread, other threads:[~2008-07-28 12:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-27 11:27 Fix SCHED_HRTICK dependency OGAWA Hirofumi
2008-07-28 12:37 ` Ingo Molnar

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