* [PATCH] nohz: put proper symbol in the unstable schedclock warning
@ 2013-08-05 12:21 Jiri Kosina
2013-08-30 11:38 ` Frederic Weisbecker
0 siblings, 1 reply; 2+ messages in thread
From: Jiri Kosina @ 2013-08-05 12:21 UTC (permalink / raw)
To: Steven Rostedt, Frederic Weisbecker; +Cc: linux-kernel
Since e12d0271 ("nohz: Warn if the machine can not perform nohz_full")
Kernel triggers a WARN() in case sched clock is marked as unstable.
Make it output a proper Kconfig symbol (NO_HZ_FULL) when informing user
about this.
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
---
kernel/time/tick-sched.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/kernel/time/tick-sched.c b/kernel/time/tick-sched.c
index e77edc9..e0030ed 100644
--- a/kernel/time/tick-sched.c
+++ b/kernel/time/tick-sched.c
@@ -182,7 +182,7 @@ static bool can_stop_full_tick(void)
* Don't allow the user to think they can get
* full NO_HZ with this machine.
*/
- WARN_ONCE(1, "NO_HZ FULL will not work with unstable sched clock");
+ WARN_ONCE(1, "NO_HZ_FULL will not work with unstable sched clock");
return false;
}
#endif
--
Jiri Kosina
SUSE Labs
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] nohz: put proper symbol in the unstable schedclock warning
2013-08-05 12:21 [PATCH] nohz: put proper symbol in the unstable schedclock warning Jiri Kosina
@ 2013-08-30 11:38 ` Frederic Weisbecker
0 siblings, 0 replies; 2+ messages in thread
From: Frederic Weisbecker @ 2013-08-30 11:38 UTC (permalink / raw)
To: Jiri Kosina; +Cc: Steven Rostedt, linux-kernel
On Mon, Aug 05, 2013 at 02:21:13PM +0200, Jiri Kosina wrote:
> Since e12d0271 ("nohz: Warn if the machine can not perform nohz_full")
> Kernel triggers a WARN() in case sched clock is marked as unstable.
>
> Make it output a proper Kconfig symbol (NO_HZ_FULL) when informing user
> about this.
>
> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
I'm queuing this, thanks!
> ---
> kernel/time/tick-sched.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/kernel/time/tick-sched.c b/kernel/time/tick-sched.c
> index e77edc9..e0030ed 100644
> --- a/kernel/time/tick-sched.c
> +++ b/kernel/time/tick-sched.c
> @@ -182,7 +182,7 @@ static bool can_stop_full_tick(void)
> * Don't allow the user to think they can get
> * full NO_HZ with this machine.
> */
> - WARN_ONCE(1, "NO_HZ FULL will not work with unstable sched clock");
> + WARN_ONCE(1, "NO_HZ_FULL will not work with unstable sched clock");
> return false;
> }
> #endif
>
> --
> Jiri Kosina
> SUSE Labs
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-08-30 11:38 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-05 12:21 [PATCH] nohz: put proper symbol in the unstable schedclock warning Jiri Kosina
2013-08-30 11:38 ` Frederic Weisbecker
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox