From: Rusty Russell <rusty@rustcorp.com.au>
To: Ben Greear <greearb@candelatech.com>,
Joe Lawrence <joe.lawrence@stratus.com>
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
stable@vger.kernel.org
Subject: Re: Please add to stable: module: don't unlink the module until we've removed all exposure.
Date: Tue, 04 Jun 2013 15:26:28 +0930 [thread overview]
Message-ID: <87d2s2to4z.fsf@rustcorp.com.au> (raw)
In-Reply-To: <51ACC60B.8090504@candelatech.com>
Ben Greear <greearb@candelatech.com> writes:
>> It at least works around the problem for me as well. But, a more rare
>> migration/[0-3] (I think) related lockup still exists in 3.9.4 for me,
>> so I will also try applying that other kobject patch and continue testing
>> today...
>
> Well, that other kobject patch is already in 3.9.4, so I think it's still
> a good idea to include the
> "module: don't unlink the module until we've removed all exposure."
> patch in stable. I have a decent test case to reproduce the crash, so if someone
> wants me to test other patches instead, then I will do so.
OK, I cannot reproduce on 3.9.4. I #if 0'd out the WARNs in sysfs and
kobject, and did this (which reliably broke on 3.8):
# M=`modinfo -F filename e1000`
# for i in `seq 10000`; do insmod $M; rmmod e1000; done >/dev/null 2>&1 & for i in `seq 10000`; do insmod $M; rmmod e1000; done > /dev/null 2>&1 & for i in `seq 10000`; do insmod $M; rmmod e1000; done > /dev/null 2>&1 & for i in `seq 10000`; do insmod $M; rmmod e1000; done >/dev/null 2>&1 &
#
This was under kvm, 4-way SMP, init=/bin/bash.
Do you have a backtrace of the 3.9.4 crash? You can add "CFLAGS_module.o
= -O0" to get a clearer backtrace if you want...
Thanks,
Rusty.
next prev parent reply other threads:[~2013-06-04 6:01 UTC|newest]
Thread overview: 51+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-05-31 18:14 Please add to stable: module: don't unlink the module until we've removed all exposure Ben Greear
2013-06-02 5:09 ` Rusty Russell
2013-06-03 3:46 ` Joe Lawrence
2013-06-03 11:25 ` Joe Lawrence
2013-06-03 14:17 ` Joe Lawrence
2013-06-03 15:59 ` Ben Greear
2013-06-03 16:36 ` Ben Greear
2013-06-04 4:37 ` Rusty Russell
2013-06-04 5:56 ` Rusty Russell [this message]
2013-06-04 14:07 ` Joe Lawrence
2013-06-04 16:50 ` Joe Lawrence
2013-06-04 16:53 ` Ben Greear
2013-06-04 17:45 ` Ben Greear
2013-06-05 4:17 ` Rusty Russell
2013-06-05 7:15 ` Tejun Heo
2013-06-05 16:59 ` Ben Greear
2013-06-05 18:48 ` Tejun Heo
2013-06-05 19:11 ` Ben Greear
2013-06-05 19:31 ` stop_machine lockup issue in 3.9.y Ben Greear
2013-06-05 20:58 ` Ben Greear
2013-06-05 21:11 ` [ath9k-devel] " Tejun Heo
2013-06-05 21:11 ` Tejun Heo
2013-06-05 21:11 ` Tejun Heo
2013-06-05 21:33 ` [ath9k-devel] " Ben Greear
2013-06-05 21:33 ` Ben Greear
2013-06-06 1:34 ` [ath9k-devel] " Eric Dumazet
2013-06-06 1:34 ` Eric Dumazet
2013-06-06 1:34 ` Eric Dumazet
2013-06-06 3:14 ` [ath9k-devel] " Tejun Heo
2013-06-06 3:14 ` Tejun Heo
2013-06-06 3:14 ` Tejun Heo
2013-06-06 3:26 ` [ath9k-devel] " Eric Dumazet
2013-06-06 3:26 ` Eric Dumazet
2013-06-06 3:26 ` Eric Dumazet
2013-06-06 3:41 ` [ath9k-devel] " Ben Greear
2013-06-06 3:41 ` Ben Greear
2013-06-06 3:46 ` [ath9k-devel] " Eric Dumazet
2013-06-06 3:46 ` Eric Dumazet
2013-06-06 3:50 ` [ath9k-devel] " Ben Greear
2013-06-06 3:50 ` Ben Greear
2013-06-06 4:08 ` [ath9k-devel] " Eric Dumazet
2013-06-06 4:08 ` Eric Dumazet
2013-06-06 20:55 ` [ath9k-devel] " Tejun Heo
2013-06-06 20:55 ` Tejun Heo
2013-06-06 21:15 ` [ath9k-devel] " Ben Greear
2013-06-06 21:15 ` Ben Greear
2013-06-06 21:17 ` [ath9k-devel] " Tejun Heo
2013-06-06 21:17 ` Tejun Heo
2013-06-05 3:29 ` Please add to stable: module: don't unlink the module until we've removed all exposure Rusty Russell
2013-06-05 5:07 ` Greg KH
2013-06-05 7:13 ` Rusty Russell
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=87d2s2to4z.fsf@rustcorp.com.au \
--to=rusty@rustcorp.com.au \
--cc=greearb@candelatech.com \
--cc=joe.lawrence@stratus.com \
--cc=linux-kernel@vger.kernel.org \
--cc=stable@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.