Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261558AbVD0My6 (ORCPT ); Wed, 27 Apr 2005 08:54:58 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261560AbVD0My6 (ORCPT ); Wed, 27 Apr 2005 08:54:58 -0400 Received: from mailfe07.swip.net ([212.247.154.193]:16796 "EHLO swip.net") by vger.kernel.org with ESMTP id S261558AbVD0My4 (ORCPT ); Wed, 27 Apr 2005 08:54:56 -0400 X-T2-Posting-ID: jLUmkBjoqvly7NM6d2gdCg== Subject: Re: [BUG] 2.6.12-rc3: unkillable java process in TASK_RUNNING on AMD64 From: Alexander Nyberg To: "Rafael J. Wysocki" Cc: Andrew Morton , ak@suse.de, linux-kernel@vger.kernel.org In-Reply-To: <200504271412.51565.rjw@sisk.pl> References: <200504271152.15423.rjw@sisk.pl> <200504271305.10882.rjw@sisk.pl> <20050427045546.7c769a4f.akpm@osdl.org> <200504271412.51565.rjw@sisk.pl> Content-Type: text/plain Date: Wed, 27 Apr 2005 14:54:54 +0200 Message-Id: <1114606494.868.6.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.0.4 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1888 Lines: 46 > > > >From sysrq-P, I get this: > > > > > > Pid: 11073, comm: java Not tainted 2.6.12-rc3 > > > RIP: 0010:[] {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:{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 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 */ - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/