+ fix-up-lockdep-trace-in-fs-execc.patch added to -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled

     fix up lockdep trace in fs/exec.c

has been added to the -mm tree.  Its filename is

     fix-up-lockdep-trace-in-fs-execc.patch

See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find
out what to do about this

------------------------------------------------------
Subject: fix up lockdep trace in fs/exec.c
From: Dave Jones <davej@xxxxxxxxxx>

=============================================
[ INFO: possible recursive locking detected ]
---------------------------------------------
init/1 is trying to acquire lock:
 (&sighand->siglock){....}, at: [<c047a78a>] flush_old_exec+0x3ae/0x859

but task is already holding lock:
 (&sighand->siglock){....}, at: [<c047a77a>] flush_old_exec+0x39e/0x859

other info that might help us debug this:
2 locks held by init/1:
 #0:  (tasklist_lock){..--}, at: [<c047a76a>] flush_old_exec+0x38e/0x859
 #1:  (&sighand->siglock){....}, at: [<c047a77a>] flush_old_exec+0x39e/0x859

stack backtrace:
 [<c04051e1>] show_trace_log_lvl+0x54/0xfd
 [<c040579d>] show_trace+0xd/0x10
 [<c04058b6>] dump_stack+0x19/0x1b
 [<c043b33a>] __lock_acquire+0x773/0x997
 [<c043bacf>] lock_acquire+0x4b/0x6c
 [<c060630b>] _spin_lock+0x19/0x28
 [<c047a78a>] flush_old_exec+0x3ae/0x859
 [<c0498053>] load_elf_binary+0x4aa/0x1628
 [<c0479cab>] search_binary_handler+0xa7/0x24e
 [<c047b577>] do_execve+0x15b/0x1f9
 [<c04022b4>] sys_execve+0x29/0x4d
 [<c0403faf>] syscall_call+0x7/0xb

Signed-off-by: Arjan van de Ven <arjan@xxxxxxxxxxxxx>
Signed-off-by: Dave Jones <davej@xxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxx>
---

 fs/exec.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -puN fs/exec.c~fix-up-lockdep-trace-in-fs-execc fs/exec.c
--- a/fs/exec.c~fix-up-lockdep-trace-in-fs-execc
+++ a/fs/exec.c
@@ -748,7 +748,7 @@ no_thread_group:
 
 		write_lock_irq(&tasklist_lock);
 		spin_lock(&oldsighand->siglock);
-		spin_lock(&newsighand->siglock);
+		spin_lock_nested(&newsighand->siglock, SINGLE_DEPTH_NESTING);
 
 		rcu_assign_pointer(tsk->sighand, newsighand);
 		recalc_sigpending();
_

Patches currently in -mm which might be from davej@xxxxxxxxxx are

git-agpgart.patch
git-cpufreq.patch
remove-null-chars-from-dvb-names.patch
remove-silly-messages-from-input-layer.patch
via-sata-oops-on-init.patch
tickle-nmi-watchdog-on-serial-output.patch
git-scsi-misc.patch
git-watchdog.patch
debug-variants-of-linked-list-macros.patch
tty_ioc-keep-davej-sane.patch
single-bit-flip-detector.patch
single-bit-flip-detector-tidy.patch
lockdep-print-kernel-version.patch
remove-another-configh.patch
fix-up-lockdep-trace-in-fs-execc.patch
sched-dont-print-migration-cost-when-only-1-cpu.patch
fbcon-use-persistent-allocation-for-cursor-blinking.patch
post-halloween-doc.patch

-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux