lkml.org 
[lkml]   [2013]   [Sep]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH RT] hwlat-detector: Don't ignore threshold module parameter
Don't be afraid to Cc LKML with rt kernel patches. linux-rt-users is
for users not kernel developers. People like Peter Zijlstra will never
see this patch.

On Fri, 30 Aug 2013 07:57:25 +0200
Mike Galbraith <bitbucket@online.de> wrote:

> If the user specified a threshold at module load time, use it.

This could use a little better change log.

Other than that,

Acked-by: Steven Rostedt <rostedt@goodmis.org>

-- Steve

>
> Signed-off-by: Mike Galbraith <bitbucket@online.de>
>
> --- a/drivers/misc/hwlat_detector.c 2013-08-30 07:16:05.387959392 +0200
> +++ b/drivers/misc/hwlat_detector.c 2013-08-30 07:10:52.958670183 +0200
> @@ -413,7 +413,7 @@ static int init_stats(void)
> goto out;
>
> __reset_stats();
> - data.threshold = DEFAULT_LAT_THRESHOLD; /* threshold us */
> + data.threshold = threshold ?: DEFAULT_LAT_THRESHOLD; /* threshold us */
> data.sample_window = DEFAULT_SAMPLE_WINDOW; /* window us */
> data.sample_width = DEFAULT_SAMPLE_WIDTH; /* width us */
>
>



\
 
 \ /
  Last update: 2013-09-13 03:41    [W:0.051 / U:1.056 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site