From: Maciej Rutecki <maciej.rutecki@gmail.com>
To: Sergey Senozhatsky <sergey.senozhatsky@gmail.com>
Cc: Andrew Morton <akpm@linux-foundation.org>,
Thomas Gleixner <tglx@linutronix.de>,
Ingo Molnar <mingo@redhat.com>, "H. Peter Anvin" <hpa@zytor.com>,
x86@kernel.org, Peter Zijlstra <a.p.zijlstra@chello.nl>,
Joerg Roedel <joerg.roedel@amd.com>,
linux-kernel@vger.kernel.org
Subject: Re: fix BUG: using smp_processor_id() in preemptible code (resend)
Date: Thu, 19 Aug 2010 17:04:18 +0200 [thread overview]
Message-ID: <201008191704.19292.maciej.rutecki@gmail.com> (raw)
In-Reply-To: <20100818091157.GA5238@swordfish.minsk.epam.com>
On środa, 18 sierpnia 2010 o 11:11:58 Sergey Senozhatsky wrote:
> fix BUG: using smp_processor_id() in preemptible code (resend)
I got similar bug (during suspend to disk) on 2.6.36-rc1+ patch from:
https://bugzilla.kernel.org/show_bug.cgi?id=16615
[ 89.141370] Enabling non-boot CPUs ...
[ 89.142033] BUG: using smp_processor_id() in preemptible [00000000] code:
pm-hibernate/2584
[ 89.142147] caller is thermal_throttle_add_dev+0x10/0x7c
[ 89.142200] Pid: 2584, comm: pm-hibernate Not tainted 2.6.36-rc1 #1
[ 89.142248] Call Trace:
[ 89.142274] [<c03706ad>] ? printk+0xf/0x12
[ 89.142312] [<c02181d1>] debug_smp_processor_id+0xa5/0xbc
[ 89.142357] [<c036d13d>] thermal_throttle_add_dev+0x10/0x7c
[ 89.142403] [<c036d1f2>] thermal_throttle_cpu_callback+0x49/0x9c
[ 89.142454] [<c0141842>] notifier_call_chain+0x26/0x50
[ 89.142496] [<c01418c3>] __raw_notifier_call_chain+0xe/0x10
[ 89.142544] [<c012be4a>] __cpu_notify+0x15/0x29
[ 89.142581] [<c036ead6>] _cpu_up+0x59/0xdc
[ 89.142617] [<c0364953>] enable_nonboot_cpus+0x3d/0x94
[ 89.142660] [<c0151f94>] hibernation_snapshot+0x11d/0x1b9
[ 89.142704] [<c01520d5>] hibernate+0xa5/0x13f
[ 89.142740] [<c0151035>] ? state_store+0x0/0xa7
[ 89.142778] [<c0151089>] state_store+0x54/0xa7
[ 89.142815] [<c0151035>] ? state_store+0x0/0xa7
[ 89.142854] [<c020ee89>] kobj_attr_store+0x16/0x22
[ 89.142894] [<c01c9a9a>] sysfs_write_file+0xbc/0xe7
[ 89.142936] [<c018e5d3>] vfs_write+0x8a/0xfd
[ 89.142972] [<c01c99de>] ? sysfs_write_file+0x0/0xe7
[ 89.143018] [<c018e6dd>] sys_write+0x3b/0x60
[ 89.143055] [<c01026ec>] sysenter_do_call+0x12/0x22
[ 89.143112] SMP alternatives: switching to SMP code
PS. Sorry for overlook previosus mail, already I created bug entry (because
it's regression):
https://bugzilla.kernel.org/show_bug.cgi?id=16629
Regards
--
Maciej Rutecki
http://www.maciek.unixy.pl
next prev parent reply other threads:[~2010-08-19 15:04 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-08-18 9:11 fix BUG: using smp_processor_id() in preemptible code (resend) Sergey Senozhatsky
2010-08-19 15:04 ` Maciej Rutecki [this message]
2010-08-19 17:03 ` Roedel, Joerg
2010-08-19 21:46 ` H. Peter Anvin
2010-08-20 7:36 ` [PATCH] fix BUG using smp_processor_id() in preemptible thermal_throttle_add_dev Sergey Senozhatsky
2010-08-21 4:43 ` [tip:x86/urgent] x86, hwmon: Fix unsafe smp_processor_id() in thermal_throttle_add_dev tip-bot for Sergey Senozhatsky
2010-08-21 5:51 ` Fenghua Yu
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=201008191704.19292.maciej.rutecki@gmail.com \
--to=maciej.rutecki@gmail.com \
--cc=a.p.zijlstra@chello.nl \
--cc=akpm@linux-foundation.org \
--cc=hpa@zytor.com \
--cc=joerg.roedel@amd.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@redhat.com \
--cc=sergey.senozhatsky@gmail.com \
--cc=tglx@linutronix.de \
--cc=x86@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox