From: "Rafael J. Wysocki" <rjw@sisk.pl>
To: Alexander Nyberg <alexn@telia.com>
Cc: Andrew Morton <akpm@osdl.org>, ak@suse.de, linux-kernel@vger.kernel.org
Subject: Re: [BUG] 2.6.12-rc3: unkillable java process in TASK_RUNNING on AMD64
Date: Wed, 27 Apr 2005 16:04:21 +0200 [thread overview]
Message-ID: <200504271604.22001.rjw@sisk.pl> (raw)
In-Reply-To: <1114606494.868.6.camel@localhost.localdomain>
On Wednesday, 27 of April 2005 14:54, Alexander Nyberg wrote:
> > > > >From sysrq-P, I get this:
> > > >
> > > > Pid: 11073, comm: java Not tainted 2.6.12-rc3
> > > > RIP: 0010:[<ffffffff8010f675>] <ffffffff8010f675>{retint_signal+20}
> > > > RSP: 0018:ffff810012d6ff58 EFLAGS: 00000282
> > > > RAX: 0000000000020000 RBX: ffff810010868820 RCX: ffff810012d6e000
> > > > RDX: 0000000000020000 RSI: 0000000000000000 RDI: ffff810012d6ff58
> > > > RBP: 000000a30c153a4a R08: ffff810012d6e000 R09: ffffffff804c6068
> > > > R10: 0000000000000001 R11: 0000000000000001 R12: ffffffff804ccd40
> > > > R13: ffff810010868820 R14: ffff81002cff2cf0 R15: ffffffff8010d3a7
> > > > FS: 00002aaaae6389c0(0000) GS:ffffffff8054a600(0063) knlGS:00000000556c9080
> > > > CS: 0010 DS: 002b ES: 002b CR0: 000000008005003b
> > > > CR2: 00002aaaaabab000 CR3: 0000000012930000 CR4: 00000000000006e0
> > > >
> > > > Call Trace:<ffffffff8010f697>{retint_signal+54}
> > > >
> > > > all the time.
>
> My mind tells me this might be the problem but statistics also tell me
> processes should get stuck all the time here...
>
> In retint_signal %rdi is destroyed, need to jump to the label above
> retint_check that sets %edi back to $_TIF_WORK_MASK
>
> Signed-off-by: Alexander Nyberg <alexn@telia.com>
>
> Index: linux-2.6/arch/x86_64/kernel/entry.S
> ===================================================================
> --- linux-2.6.orig/arch/x86_64/kernel/entry.S 2005-04-27 13:08:50.000000000 +0200
> +++ linux-2.6/arch/x86_64/kernel/entry.S 2005-04-27 14:43:20.000000000 +0200
> @@ -491,7 +491,7 @@
> RESTORE_REST
> cli
> GET_THREAD_INFO(%rcx)
> - jmp retint_check
> + jmp retint_with_reschedule
>
> #ifdef CONFIG_PREEMPT
> /* Returning to kernel space. Check if we need preemption */
With this patch I'm unable to reproduce the problem, though I've tried really hard. Thanks!
Greets,
Rafael
--
- Would you tell me, please, which way I ought to go from here?
- That depends a good deal on where you want to get to.
-- Lewis Carroll "Alice's Adventures in Wonderland"
next prev parent reply other threads:[~2005-04-27 14:04 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-04-27 9:52 Rafael J. Wysocki
2005-04-27 10:19 ` Andrew Morton
2005-04-27 11:05 ` Rafael J. Wysocki
2005-04-27 11:55 ` Andrew Morton
2005-04-27 12:12 ` Rafael J. Wysocki
2005-04-27 12:54 ` Alexander Nyberg
2005-04-27 14:04 ` Rafael J. Wysocki [this message]
2005-04-28 17:32 ` Randy.Dunlap
2005-04-27 12:15 ` Sipos Ferenc
2005-04-27 11:01 ` Bernd Eckenfels
2005-04-27 11:13 ` Rafael J. Wysocki
2005-04-27 12:38 ` Bernd Eckenfels
2005-04-27 13:54 ` Andi Kleen
2005-04-27 14:51 ` Rafael J. Wysocki
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=200504271604.22001.rjw@sisk.pl \
--to=rjw@sisk.pl \
--cc=ak@suse.de \
--cc=akpm@osdl.org \
--cc=alexn@telia.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
all inboxes | Powered by JetHome®