From: "Lina Lu" <lulina_nuaa@foxmail.com>
To: "dhowells" <dhowells@redhat.com>
Cc: "linux kernel mailing list" <linux-kernel@vger.kernel.org>
Subject: Re: CRED: Fix get_task_cred() and task_state() to not resurrect dead credentials
Date: Wed, 18 May 2011 22:38:39 +0800 [thread overview]
Message-ID: <201105182238380008479@foxmail.com> (raw)
Hi David,
I found your get_cred patch on the community website and put the patch in my linux
system to avoid cred problems. But the system got two abnormal situations.
One is that the kernel got a bug at line 168 in kernel/cred.c after running about seven
days.
The other is kernel panic with the following backtrace.
CRED: put_cred_rcu() sees ffff88008626e800 with usage -3.
I got confused, how the usage -3 was generated.
The kernel trace information is as follows:
kernel_trace
<ffffffff803794d7>{notifier_call_chain+0x37}
<ffffffff80372d32>{panic+0xa2}
<ffffffff8005ae56>{put_cred_rcu+0xa6}
<ffffffff8008da55>{__rcu_process_callbacks+0x145}
<ffffffff8008dd66>{rcu_process_callbacks+0x26}
<ffffffff8004389e>{__do_softirq+0xde}
<ffffffff80007f3c>{call_softirq+0x1c}
<ffffffff80009535>{do_softirq+0xa5}
<ffffffff80279e82>{evtchn_do_upcall+0x212}
<ffffffff8000799e>{do_hypervisor_callback+0x1e}
[<ffffffff800033aa>]
<ffffffff8000a826>{xen_safe_halt+0xb6}
<ffffffff8000de1d>{xen_idle+0x5d}
<ffffffff800065cf>{cpu_idle+0x5f}
Task tree:
process:swapper (pid:0, tgid:0)
I am looking forward to your reply. Any reply is appreciated.
Thank you very much!
f
reply other threads:[~2011-05-18 14:41 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=201105182238380008479@foxmail.com \
--to=lulina_nuaa@foxmail.com \
--cc=dhowells@redhat.com \
--cc=linux-kernel@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox