Re: [PATCH 9/9] trace: Replace hardcoding of 19 with MAX_NICE.

2014-02-24 Thread Dongsheng Yang

On 02/24/2014 06:46 PM, Peter Zijlstra wrote:

On Sat, Feb 22, 2014 at 05:05:36PM +0800, Dongsheng Yang wrote:

Hi Peter.
 It seems the all other patches in this set were all applied to tip
except this one.
What is the problem with the [9/9]? Is there any thing I can do?

The problem is that it never actually made it to my inbox; could you
verify that I was indeed on the recipient list? And if not resend it.


Oh, yes. Sorry for that. I will resend it soon with ccing you.


In case I was actually on the recipient list I need to go figure out
where it went.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [PATCH 9/9] trace: Replace hardcoding of 19 with MAX_NICE.

2014-02-24 Thread Peter Zijlstra
On Sat, Feb 22, 2014 at 05:05:36PM +0800, Dongsheng Yang wrote:
> Hi Peter.
> It seems the all other patches in this set were all applied to tip
> except this one.
> What is the problem with the [9/9]? Is there any thing I can do?

The problem is that it never actually made it to my inbox; could you
verify that I was indeed on the recipient list? And if not resend it.

In case I was actually on the recipient list I need to go figure out
where it went.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [PATCH 9/9] trace: Replace hardcoding of 19 with MAX_NICE.

2014-02-24 Thread Peter Zijlstra
On Sat, Feb 22, 2014 at 05:05:36PM +0800, Dongsheng Yang wrote:
 Hi Peter.
 It seems the all other patches in this set were all applied to tip
 except this one.
 What is the problem with the [9/9]? Is there any thing I can do?

The problem is that it never actually made it to my inbox; could you
verify that I was indeed on the recipient list? And if not resend it.

In case I was actually on the recipient list I need to go figure out
where it went.
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [PATCH 9/9] trace: Replace hardcoding of 19 with MAX_NICE.

2014-02-24 Thread Dongsheng Yang

On 02/24/2014 06:46 PM, Peter Zijlstra wrote:

On Sat, Feb 22, 2014 at 05:05:36PM +0800, Dongsheng Yang wrote:

Hi Peter.
 It seems the all other patches in this set were all applied to tip
except this one.
What is the problem with the [9/9]? Is there any thing I can do?

The problem is that it never actually made it to my inbox; could you
verify that I was indeed on the recipient list? And if not resend it.


Oh, yes. Sorry for that. I will resend it soon with ccing you.


In case I was actually on the recipient list I need to go figure out
where it went.
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [PATCH 9/9] trace: Replace hardcoding of 19 with MAX_NICE.

2014-02-22 Thread Peter Zijlstra
On Sat, Feb 22, 2014 at 05:05:36PM +0800, Dongsheng Yang wrote:
> Hi Peter.
> It seems the all other patches in this set were all applied to tip
> except this one.
> What is the problem with the [9/9]? Is there any thing I can do?

I might have just missed it; fail on my end. I'll try and sort it on
monday.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [PATCH 9/9] trace: Replace hardcoding of 19 with MAX_NICE.

2014-02-22 Thread Dongsheng Yang

Hi Peter.
It seems the all other patches in this set were all applied to tip 
except this one.

What is the problem with the [9/9]? Is there any thing I can do?

Thanx


On 02/11/2014 03:34 PM, Dongsheng Yang wrote:

Signed-off-by: Dongsheng Yang 
cc: Steven Rostedt 
cc: Frederic Weisbecker 
cc: Ingo Molnar 
---
  kernel/trace/ring_buffer_benchmark.c | 6 +++---
  1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/kernel/trace/ring_buffer_benchmark.c 
b/kernel/trace/ring_buffer_benchmark.c
index a5457d5..0434ff1 100644
--- a/kernel/trace/ring_buffer_benchmark.c
+++ b/kernel/trace/ring_buffer_benchmark.c
@@ -40,8 +40,8 @@ static int write_iteration = 50;
  module_param(write_iteration, uint, 0644);
  MODULE_PARM_DESC(write_iteration, "# of writes between timestamp readings");
  
-static int producer_nice = 19;

-static int consumer_nice = 19;
+static int producer_nice = MAX_NICE;
+static int consumer_nice = MAX_NICE;
  
  static int producer_fifo = -1;

  static int consumer_fifo = -1;
@@ -308,7 +308,7 @@ static void ring_buffer_producer(void)
  
  	/* Let the user know that the test is running at low priority */

if (producer_fifo < 0 && consumer_fifo < 0 &&
-   producer_nice == 19 && consumer_nice == 19)
+   producer_nice == MAX_NICE && consumer_nice == MAX_NICE)
trace_printk("WARNING!!! This test is running at lowest 
priority.\n");
  
  	trace_printk("Time: %lld (usecs)\n", time);


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [PATCH 9/9] trace: Replace hardcoding of 19 with MAX_NICE.

2014-02-22 Thread Dongsheng Yang

Hi Peter.
It seems the all other patches in this set were all applied to tip 
except this one.

What is the problem with the [9/9]? Is there any thing I can do?

Thanx


On 02/11/2014 03:34 PM, Dongsheng Yang wrote:

Signed-off-by: Dongsheng Yang yangds.f...@cn.fujitsu.com
cc: Steven Rostedt rost...@goodmis.org
cc: Frederic Weisbecker fweis...@gmail.com
cc: Ingo Molnar mi...@redhat.com
---
  kernel/trace/ring_buffer_benchmark.c | 6 +++---
  1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/kernel/trace/ring_buffer_benchmark.c 
b/kernel/trace/ring_buffer_benchmark.c
index a5457d5..0434ff1 100644
--- a/kernel/trace/ring_buffer_benchmark.c
+++ b/kernel/trace/ring_buffer_benchmark.c
@@ -40,8 +40,8 @@ static int write_iteration = 50;
  module_param(write_iteration, uint, 0644);
  MODULE_PARM_DESC(write_iteration, # of writes between timestamp readings);
  
-static int producer_nice = 19;

-static int consumer_nice = 19;
+static int producer_nice = MAX_NICE;
+static int consumer_nice = MAX_NICE;
  
  static int producer_fifo = -1;

  static int consumer_fifo = -1;
@@ -308,7 +308,7 @@ static void ring_buffer_producer(void)
  
  	/* Let the user know that the test is running at low priority */

if (producer_fifo  0  consumer_fifo  0 
-   producer_nice == 19  consumer_nice == 19)
+   producer_nice == MAX_NICE  consumer_nice == MAX_NICE)
trace_printk(WARNING!!! This test is running at lowest 
priority.\n);
  
  	trace_printk(Time: %lld (usecs)\n, time);


--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [PATCH 9/9] trace: Replace hardcoding of 19 with MAX_NICE.

2014-02-22 Thread Peter Zijlstra
On Sat, Feb 22, 2014 at 05:05:36PM +0800, Dongsheng Yang wrote:
 Hi Peter.
 It seems the all other patches in this set were all applied to tip
 except this one.
 What is the problem with the [9/9]? Is there any thing I can do?

I might have just missed it; fail on my end. I'll try and sort it on
monday.
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/