mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Valdis.Kletnieks@vt.edu
To: Fengguang Wu <fengguang.wu@intel.com>
Cc: Nathan Zimmer <nzimmer@sgi.com>,
	Andrew Morton <akpm@linux-foundation.org>,
	Stephen Rothwell <sfr@canb.auug.org.au>,
	linux-kernel@vger.kernel.org
Subject: Re: [procfs] BUG: sleeping function called from invalid context at mm/slub.c:925
Date: Thu, 07 Mar 2013 14:15:38 -0500	[thread overview]
Message-ID: <3041.1362683738@turing-police.cc.vt.edu> (raw)
In-Reply-To: Your message of "Thu, 07 Mar 2013 22:12:24 +0800." <20130307141224.GA6506@localhost>

[-- Attachment #1: Type: text/plain, Size: 2789 bytes --]

On Thu, 07 Mar 2013 22:12:24 +0800, Fengguang Wu said:

> I got the below dmesg and the first bad commit is
>
> commit a21813be23329e2788164eab532e79cb0e513cfc
> Author: Nathan Zimmer <nzimmer@sgi.com>
> Date:   Sat Mar 2 15:25:37 2013 +1100
>
>     procfs: improve scaling in proc

> [   78.994163] atkbd: probe of serio1 rejects match -19
> [   79.196148] Freeing unused kernel memory: 664k freed
> [   80.786460] BUG: sleeping function called from invalid context at /c/kernel-tests/src/tip/mm/slub.c:925

I'm seeing a very similar issue on SLAB in next-20130306.
x86_64 on a 2-core Dell Latitude laptop.  Haven't bisected yet.

[    9.295661]   #0: HDA Intel at 0xf6fdc000 irq 50
[    9.324345] Freeing unused kernel memory: 968k freed
[    9.350431] Write protecting the kernel read-only data: 10240k
[    9.377094] Freeing unused kernel memory: 20k freed
[    9.404963] Freeing unused kernel memory: 412k freed
[    9.439653] BUG: sleeping function called from invalid context at mm/slab.c:3056
[    9.505448] in_atomic(): 0, irqs_disabled(): 0, pid: 1, name: systemd
[    9.531235] 2 locks held by systemd/1:
[    9.557046]  #0:  (rcu_read_lock){.+.+.+}, at: [<ffffffff8115dc2a>] rcu_read_lock+0x0/0x6c
[    9.583626]  #1:  (rcu_read_lock){.+.+.+}, at: [<ffffffff8115dc2a>] rcu_read_lock+0x0/0x6c
[    9.609793] Pid: 1, comm: systemd Not tainted 3.9.0-rc1-next-20130306 #63
[    9.636291] Call Trace:
[    9.662218]  [<ffffffff81056435>] __might_sleep+0x19e/0x1a5
[    9.687970]  [<ffffffff810ff5f5>] cache_alloc_debugcheck_before.isra.40+0x1d/0x1f
[    9.713908]  [<ffffffff81100576>] kmem_cache_alloc_trace+0x35/0xec
[    9.740070]  [<ffffffff81164d8f>] ? cmdline_proc_open+0x17/0x17
[    9.765894]  [<ffffffff81125cb3>] ? single_open+0x8f/0x8f
[    9.791251]  [<ffffffff81125c50>] single_open+0x2c/0x8f
[    9.816509]  [<ffffffff81164d8d>] cmdline_proc_open+0x15/0x17
[    9.841728]  [<ffffffff8115ded7>] proc_reg_open+0xcb/0x143
[    9.866926]  [<ffffffff81164d78>] ? proc_tty_unregister_driver+0x2d/0x2d
[    9.891936]  [<ffffffff8115de0c>] ? proc_reg_release+0x157/0x157
[    9.917044]  [<ffffffff81106a0f>] do_dentry_open+0x1d2/0x2ff
[    9.941631]  [<ffffffff81106b9e>] finish_open+0x62/0x74
[    9.966347]  [<ffffffff81114cc0>] do_last+0x9aa/0xb79
[    9.990594]  [<ffffffff81114f94>] path_openat+0x105/0x45e
[   10.014748]  [<ffffffff810ffa05>] ? ac_get_obj.constprop.59+0x38/0x1b6
[   10.038753]  [<ffffffff811160b0>] do_filp_open+0x37/0xc8
[   10.062789]  [<ffffffff815ef027>] ? _raw_spin_unlock+0x58/0x64
[   10.086744]  [<ffffffff8112173a>] ? __alloc_fd+0x175/0x187
[   10.110608]  [<ffffffff81107833>] do_sys_open+0x81/0x129
[   10.134379]  [<ffffffff811078f4>] SyS_open+0x19/0x1b
[   10.158447]  [<ffffffff815f5592>] system_call_fastpath+0x16/0x1b
[   10.182213]




[-- Attachment #2: Type: application/pgp-signature, Size: 865 bytes --]

  reply	other threads:[~2013-03-07 19:17 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-07 14:12 Fengguang Wu
2013-03-07 19:15 ` Valdis.Kletnieks [this message]
     [not found]   ` <5138EC5C.3060002@sgi.com>
2013-03-07 20:03     ` Valdis.Kletnieks

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=3041.1362683738@turing-police.cc.vt.edu \
    --to=valdis.kletnieks@vt.edu \
    --cc=akpm@linux-foundation.org \
    --cc=fengguang.wu@intel.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=nzimmer@sgi.com \
    --cc=sfr@canb.auug.org.au \
    /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

all inboxes | Powered by JetHome®