BUG: using smp_processor_id() in preemptible

Paul Thompson
2012-10-24T08:24:28Z

Hi;

Just saw this after invoking cpufreq-set -g performance in
an attempt to enhance a stuttering mpeg transcode for ps3mediaserver.
This repeats in the logs about 10 times. If anyone cares, I
will be responsive.

Paul

2012 Oct 24 01:39:14: BUG: using smp_processor_id() in preemptible [00000000] code: cpufreq-set/22941
2012 Oct 24 01:39:14: caller is powernowk8_target+0x19/0x50
2012 Oct 24 01:39:14: Pid: 22941, comm: cpufreq-set Not tainted 3.6.2-low-lat #13
2012 Oct 24 01:39:14: Call Trace:
2012 Oct 24 01:39:14: [<ffffffff811b0476>] ? debug_smp_processor_id+0xd6/0xf0
2012 Oct 24 01:39:14: [<ffffffff812eb6e9>] ? powernowk8_target+0x19/0x50
2012 Oct 24 01:39:14: [<ffffffff812e9a95>] ? cpufreq_governor_performance+0x25/0x30
2012 Oct 24 01:39:14: [<ffffffff812e7f87>] ? __cpufreq_governor+0x47/0xc0
2012 Oct 24 01:39:14: [<ffffffff812e8164>] ? __cpufreq_set_policy+0x164/0x1a0
2012 Oct 24 01:39:14: [<ffffffff812e8849>] ? store_scaling_governor+0xc9/0x1b0
2012 Oct 24 01:39:15: [<ffffffff812e8c40>] ? cpufreq_update_policy+0xf0/0xf0
2012 Oct 24 01:39:15: [<ffffffff812e9005>] ? store+0x65/0xb0
2012 Oct 24 01:39:15: [<ffffffff8112574d>] ? sysfs_write_file+0xcd/0x150
2012 Oct 24 01:39:15: [<ffffffff810ca9a7>] ? vfs_write+0xa7/0x180
2012 Oct 24 01:39:15: [<ffffffff810cacd7>] ? sys_write+0x47/0x90
2012 Oct 24 01:39:15: [<ffffffff813d8526>] ? system_call_fastpath+0x1a/0x1f