From: Wolfgang Steinwender <wolfgang@psysteme.de>
To: linux-rt-users@vger.kernel.org
Subject: Problem with hwlat detector in smp_processor_id()
Date: Thu, 09 Jul 2009 13:32:10 +0200 [thread overview]
Message-ID: <4A55D53A.6040108@psysteme.de> (raw)
Hello everyone,
I'm doing some testing here. When I'm trying
the hardware latency test (hwlatdetect.py) I'm
getting the following messages:
hwlat_detector: version 1.0.0
BUG: using smp_processor_id() in preemptible [00000000] code:
hwlatdetect/3755
caller is debug_sample_fread+0x138/0x1ea [hwlat_detector]
Pid: 3755, comm: hwlatdetect Tainted: G N
2.6.29.5-M-jen80-rtpae-debug #1
Call Trace:
[<c035be0b>] ? printk+0x14/0x19
[<c02403df>] debug_smp_processor_id+0xb3/0xc8
[<f855061f>] debug_sample_fread+0x138/0x1ea [hwlat_detector]
[<c020fed8>] ? security_file_permission+0x14/0x16
[<c01b8a65>] ? rw_verify_area+0x8f/0xb1
[<f85504e7>] ? debug_sample_fread+0x0/0x1ea [hwlat_detector]
[<c01b93b5>] vfs_read+0x8e/0x138
[<c01b9502>] sys_read+0x40/0x65
[<c0102cdc>] sysenter_do_call+0x12/0x2d
The message is printed for every poll.
Manually loading the hwlat module and reading "sample" produces
the same message.
I'm using a SuSE kernel with RT-Patches from j.eng (recompiled
with hwlat Module). Version should roughly be 2.6.29.5-rt20,
PAE is enabled. CPU is a dual core.
The offending source could be:
mutex_lock(&ring_buffer_mutex);
e = ring_buffer_consume(ring_buffer, smp_processor_id(), NULL);
I'm wondering, because the seems to run at least for some people.
Can it be a problem with my kernel?
Best regards,
W. Steinwender
next reply other threads:[~2009-07-09 11:32 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-07-09 11:32 Wolfgang Steinwender [this message]
2009-07-09 14:36 ` Problem with hwlat detector in smp_processor_id() Carsten Emde
2009-08-10 14:07 ` Wolfgang Steinwender
2009-08-10 18:58 ` Clark Williams
2009-07-09 14:36 ` Jon Masters
-- strict thread matches above, loose matches on Subject: below --
2009-07-22 9:18 John Kacur
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4A55D53A.6040108@psysteme.de \
--to=wolfgang@psysteme.de \
--cc=linux-rt-users@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.