]> git.baikalelectronics.ru Git - kernel.git/commit
oprofile: Remove 'WQ on CPUx, prefer CPUy' warning
authorRobert Richter <robert.richter@amd.com>
Wed, 22 Aug 2012 07:23:51 +0000 (09:23 +0200)
committerRobert Richter <robert.richter@amd.com>
Mon, 27 Aug 2012 12:49:39 +0000 (14:49 +0200)
commitcc3df6307b8ba4c43732956ec8d64481f456f6bb
treef91fb75d321f775bf4ea59e35c0534320d7c4597
parent3dd33efe3f35908de9c073970549d938274649ea
oprofile: Remove 'WQ on CPUx, prefer CPUy' warning

Under certain workloads we see the following warnings:

 WQ on CPU0, prefer CPU1
 WQ on CPU0, prefer CPU2
 WQ on CPU0, prefer CPU3

It warns the user that the wq to access a per-cpu buffers runs not on
the same cpu. This happens if the wq is rescheduled on a different cpu
than where the buffer is located. This was probably implemented to
detect performance issues. Not sure if there actually is one as the
buffers are copied to a single buffer anyway which should be the
actual bottleneck.

We wont change WQ implementation. Since a user can do nothing the
warning is pointless. Removing it.

Cc: Andi Kleen <andi@firstfloor.org>
Signed-off-by: Robert Richter <robert.richter@amd.com>
drivers/oprofile/cpu_buffer.c