2008-07-27 11:27:21

by OGAWA Hirofumi

[permalink] [raw]
Subject: Fix SCHED_HRTICK dependency

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 <[email protected]>
---

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 <[email protected]>


2008-07-28 12:38:18

by Ingo Molnar

[permalink] [raw]
Subject: Re: Fix SCHED_HRTICK dependency


* OGAWA Hirofumi <[email protected]> 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