From: Oleg Nesterov <oleg@tv-sign.ru>
To: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: linux-kernel <linux-kernel@vger.kernel.org>,
Andrew Morton <akpm@osdl.org>, Linus Torvalds <torvalds@osdl.org>,
Ingo Molnar <mingo@elte.hu>, arjan <arjan@infradead.org>
Subject: Re: [PATCH] lockdep: fix delayacct locking bug
Date: Fri, 3 Nov 2006 21:14:21 +0300 [thread overview]
Message-ID: <20061103181421.GA602@oleg> (raw)
In-Reply-To: <1162572527.26989.22.camel@twins>
On 11/03, Peter Zijlstra wrote:
>
> ======================================================
> [ INFO: soft-safe -> soft-unsafe lock order detected ]
> 2.6.19-rc4 #1
> ------------------------------------------------------
> mm_tester/1875 [HC0[0]:SC0[0]:HE0:SE1] is trying to acquire:
> (&tsk->delays->lock){--..}, at: [<c0156652>] __delayacct_add_tsk+0x131/0x1d3
>
> and this task is already holding:
> (&sighand->siglock){.+..}, at: [<c0156b69>] taskstats_exit_send+0x52/0x3b2
> which would create a new lock dependency:
> (&sighand->siglock){.+..} -> (&tsk->delays->lock){--..}
Thanks.
I introduced this bug in
"[PATCH 5/6] taskstats: kill ->taskstats_lock in favor of ->siglock"
Oleg.
prev parent reply other threads:[~2006-11-03 18:14 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-11-03 16:48 [PATCH] lockdep: fix delayacct locking bug Peter Zijlstra
2006-11-03 18:14 ` Oleg Nesterov [this message]
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=20061103181421.GA602@oleg \
--to=oleg@tv-sign.ru \
--cc=a.p.zijlstra@chello.nl \
--cc=akpm@osdl.org \
--cc=arjan@infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
--cc=torvalds@osdl.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox