From: Ben Greear <greearb@candelatech.com>
To: linux-kernel <linux-kernel@vger.kernel.org>
Subject: suspicious rcu_dereference_check at kernel/sched.c:618
Date: Tue, 05 Oct 2010 14:04:02 -0700 [thread overview]
Message-ID: <4CAB92C2.9060007@candelatech.com> (raw)
This is from a wireless-testing tree (2.6.36-rc6 + wireless hacks).
I see this fairly often, and would be happy to test patches :)
===================================================
[ INFO: suspicious rcu_dereference_check() usage. ]
---------------------------------------------------
/home/greearb/git/linux.wireless-testing/kernel/sched.c:618 invoked rcu_dereference_check() without protection!
other info that might help us debug this:
rcu_scheduler_active = 1, debug_locks = 1
1 lock held by ifup/23517:
#0: (&rq->lock){-.-.-.}, at: [<c042f782>] task_fork_fair+0x3b/0x108
stack backtrace:
Pid: 23517, comm: ifup Not tainted 2.6.36-rc6-wl+ #5
Call Trace:
[<c075e219>] ? printk+0xf/0x16
[<c0455842>] lockdep_rcu_dereference+0x74/0x7d
[<c0426854>] task_group+0x6d/0x79
[<c042686e>] set_task_rq+0xe/0x57
[<c042f79e>] task_fork_fair+0x57/0x108
[<c042e965>] sched_fork+0x82/0xf9
[<c04334b3>] copy_process+0x569/0xe8e
[<c0433ef0>] do_fork+0x118/0x262
[<c076302f>] ? do_page_fault+0x16a/0x2cf
[<c044b80c>] ? up_read+0x16/0x2a
[<c04085ae>] sys_clone+0x1b/0x20
[<c04030a5>] ptregs_clone+0x15/0x30
[<c0402f1c>] ? sysenter_do_call+0x12/0x38
Thanks,
Ben
--
Ben Greear <greearb@candelatech.com>
Candela Technologies Inc http://www.candelatech.com
reply other threads:[~2010-10-05 21:04 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=4CAB92C2.9060007@candelatech.com \
--to=greearb@candelatech.com \
--cc=linux-kernel@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.