Re: WARNING: at arch/x86_64/kernel/smp.c:397 smp_call_function_mask()

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Laurent Vivier
Date: Friday, September 28, 2007 - 5:07 am

This is a multi-part message in MIME format.
--------------080006050504030805060306
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Andrew Morton wrote:
net> wrote:
l.net> wrote:
led
 is in
=2E..
except itself.
mean
ced

In fact, it works because __smp_call_function_mask() makes :

 cpus_and(mask, mask, allbutself);

So it removes current cpu from the mask. BTW, I don't have to modify
smp_call_function(): it is correct as it is written (except from a semant=
ic
point of view... do we care about semantic ?).

 disabled.

e
der

We don't live in a perfect world... ;-)

Moreover, I'm not able to reproduce #2 ...

Fengguang could you send me your .config and your qemu command line param=
eters ?

Laurent

PS: if semantic is important, you can apply attached patch...
--=20
------------- Laurent.Vivier@bull.net  --------------
          "Software is hard" - Donald Knuth

--------------080006050504030805060306
Content-Type: application/mbox;
 name="0001-smp_call_function-call-function-on-all-CPUs.patch"
Content-Transfer-Encoding: base64
Content-Disposition: inline;
 filename*0="0001-smp_call_function-call-function-on-all-CPUs.patch"

QWNjb3JkaW5nIGNvbW1lbnQgb2Ygc21wX2NhbGxfZnVuY3Rpb24oKSwgCnNtcF9jYWxsX2Z1
bmN0aW9uKCkgInJ1biBhIGZ1bmN0aW9uIG9uIGFsbCBvdGhlciBDUFVzLiIsCm5vdCBvbiBh
bGwgb25saW5lIENQVXMuCgpTaWduZWQtb2ZmLWJ5OiBMYXVyZW50IFZpdmllciA8TGF1cmVu
dC5WaXZpZXJAYnVsbC5uZXQ+Ci0tLQogc21wLmMgfCAgICA3ICsrKysrKy0KIDEgZmlsZSBj
aGFuZ2VkLCA2IGluc2VydGlvbnMoKyksIDEgZGVsZXRpb24oLSkKCmRpZmYgLS1naXQgYS9h
cmNoL3g4Nl82NC9rZXJuZWwvc21wLmMgYi9hcmNoL3g4Nl82NC9rZXJuZWwvc21wLmMKLS0t
IGEvYXJjaC94ODZfNjQva2VybmVsL3NtcC5jCisrKyBiL2FyY2gveDg2XzY0L2tlcm5lbC9z
bXAuYwpAQCAtNDU5LDcgKzQ1OSwxMiBAQCBFWFBPUlRfU1lNQk9MKHNtcF9jYWxsX2Z1bmN0
aW9uX3NpbmdsZSk7CiBpbnQgc21wX2NhbGxfZnVuY3Rpb24gKHZvaWQgKCpmdW5jKSAodm9p
ZCAqaW5mbyksIHZvaWQgKmluZm8sIGludCBub25hdG9taWMsCiAJCQlpbnQgd2FpdCkKIHsK
LQlyZXR1cm4gc21wX2NhbGxfZnVuY3Rpb25fbWFzayhjcHVfb25saW5lX21hcCwgZnVuYywg
aW5mbywgd2FpdCk7CisJY3B1bWFza190IGFsbGJ1dHNlbGY7CisKKwlhbGxidXRzZWxmID0g
Y3B1X29ubGluZV9tYXA7CisJY3B1X2NsZWFyKHNtcF9wcm9jZXNzb3JfaWQoKSwgYWxsYnV0
c2VsZik7CisKKwlyZXR1cm4gc21wX2NhbGxfZnVuY3Rpb25fbWFzayhhbGxidXRzZWxmLCBm
dW5jLCBpbmZvLCB3YWl0KTsKIH0KIEVYUE9SVF9TWU1CT0woc21wX2NhbGxfZnVuY3Rpb24p
OwogCg==
--------------080006050504030805060306--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
2.6.23-rc8-mm2, Andrew Morton, (Thu Sep 27, 2:22 am)
Re: 2.6.23-rc8-mm2 - drivers/net/ibm_newemac/mal - broken, Kamalesh Babulal, (Thu Sep 27, 3:52 am)
Re: 2.6.23-rc8-mm2: problems on HP nx6325, Rafael J. Wysocki, (Thu Sep 27, 8:19 am)
Re: 2.6.23-rc8-mm2: problems on HP nx6325, Thomas Gleixner, (Thu Sep 27, 8:49 am)
Re: 2.6.23-rc8-mm2: problems on HP nx6325, Rafael J. Wysocki, (Thu Sep 27, 8:59 am)
Re: 2.6.23-rc8-mm2: problems on HP nx6325, Sam Ravnborg, (Thu Sep 27, 9:53 am)
Re: 2.6.23-rc8-mm2: problems on HP nx6325, Randy Dunlap, (Thu Sep 27, 10:33 am)
Re: 2.6.23-rc8-mm2: BUG near reiserfs_xattr_set, Laurent Riffard, (Thu Sep 27, 12:18 pm)
Re: 2.6.23-rc8-mm2: problems on HP nx6325, Sam Ravnborg, (Thu Sep 27, 12:19 pm)
Re: 2.6.23-rc8-mm2: problems on HP nx6325, Randy Dunlap, (Thu Sep 27, 12:37 pm)
Re: 2.6.23-rc8-mm2: BUG near reiserfs_xattr_set, Andrew Morton, (Thu Sep 27, 12:48 pm)
Re: 2.6.23-rc8-mm2: problems on HP nx6325, Rafael J. Wysocki, (Thu Sep 27, 12:48 pm)
Re: 2.6.23-rc8-mm2: problems on HP nx6325, Rafael J. Wysocki, (Thu Sep 27, 1:01 pm)
Re: 2.6.23-rc8-mm2: BUG near reiserfs_xattr_set, Dave Hansen, (Thu Sep 27, 1:05 pm)
Re: 2.6.23-rc8-mm2: BUG near reiserfs_xattr_set, Christoph Hellwig, (Thu Sep 27, 1:26 pm)
Re: [RFC][PATCH] make reiserfs stop using 'struct file' fo ..., Christoph Hellwig, (Thu Sep 27, 2:04 pm)
Re: [RFC][PATCH] make reiserfs stop using 'struct file' fo ..., Christoph Hellwig, (Fri Sep 28, 12:16 am)
[RFC][PATCH] stop abusing filp_open in reiserfs journal code, Christoph Hellwig, (Fri Sep 28, 12:29 am)
Re: WARNING: at arch/x86_64/kernel/smp.c:397 smp_call_func ..., Laurent Vivier, (Fri Sep 28, 5:07 am)
Re: 2.6.23-rc8-mm2 - tcp_fastretrans_alert() WARNING, Cedric Le Goater, (Fri Sep 28, 8:42 am)
Re: /proc/net/ bad hard links count [Was: 2.6.23-rc8-mm2], Eric W. Biederman, (Fri Sep 28, 10:03 am)
Re: 2.6.23-rc8-mm2 - tcp_fastretrans_alert() WARNING, Ilpo Järvinen, (Fri Sep 28, 12:10 pm)
Re: 2.6.23-rc8-mm2: problems on HP nx6325, Rafael J. Wysocki, (Fri Sep 28, 2:31 pm)
Re: 2.6.23-rc8-mm2, Dave Young, (Sat Sep 29, 2:37 am)
Re: 2.6.23-rc8-mm2 - tcp_fastretrans_alert() WARNING, Ilpo Järvinen, (Sat Sep 29, 5:44 am)
Re: 2.6.23-rc8-mm2 - tcp_fastretrans_alert() WARNING, Cedric Le Goater, (Sat Sep 29, 7:55 am)
Re: 2.6.23-rc8-mm2, Greg KH, (Sat Sep 29, 8:19 am)
Re: 2.6.23-rc8-mm2 - tcp_fastretrans_alert() WARNING, Ilpo Järvinen, (Sat Sep 29, 1:49 pm)
Re: 2.6.23-rc8-mm2, Dave Young, (Sat Sep 29, 6:29 pm)
Re: 2.6.23-rc8-mm2, Valdis.Kletnieks, (Sat Sep 29, 7:26 pm)
Re: 2.6.23-rc8-mm2, thunder7, (Sat Sep 29, 10:18 pm)
Re: 2.6.23-rc8-mm2, Andrew Morton, (Sun Sep 30, 1:50 am)
Re: 2.6.23-rc8-mm2, Rafael J. Wysocki, (Sun Sep 30, 1:01 pm)
Re: 2.6.23-rc8-mm2 - tcp_fastretrans_alert() WARNING, Cedric Le Goater, (Mon Oct 1, 2:26 am)
Re: 2.6.23-rc8-mm2, Valdis.Kletnieks, (Mon Oct 1, 9:12 am)
Re: 2.6.23-rc8-mm2, Valdis.Kletnieks, (Mon Oct 1, 10:12 am)
Re: 2.6.23-rc8-mm2 - tcp_fastretrans_alert() WARNING, Ilpo Järvinen, (Tue Oct 2, 3:26 am)
Re: 2.6.23-rc8-mm2 - tcp_fastretrans_alert() WARNING, Ilpo Järvinen, (Tue Oct 2, 1:06 pm)
Re: 2.6.23-rc8-mm2 - tcp_fastretrans_alert() WARNING, Ilpo Järvinen, (Tue Oct 2, 2:48 pm)
Re: 2.6.23-rc8-mm2, Dave Young, (Sun Oct 7, 11:43 pm)
Re: 2.6.23-rc8-mm2, Matt Mackall, (Tue Oct 9, 10:49 am)