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

Bug#556030: BUG: soft lockup - CPU#1 stuck for 61s! [java:7582]



On Nov 13, 2009, at 5:01 AM, Markus Schulz wrote:

> Package: linux-image-2.6.30-2-amd64
> Version: 2.6.30-8
> Severity: important
> 
> i still get these CPU stuck problems. 
> sometime i can work many days without problems but the i got it more
> then three times a day.

We has seen some similar issues with the 2.6.30 kernel and java processes reporting softlockups and traced it back to this patch from upstream which fixes the issue:

diff --git a/kernel/futex.c b/kernel/futex.c
index 463af2e..1e176f3 100644
--- a/kernel/futex.c
+++ b/kernel/futex.c
@@ -916,8 +916,8 @@ retry:
        hb1 = hash_futex(&key1);
        hb2 = hash_futex(&key2);
 
-       double_lock_hb(hb1, hb2);
 retry_private:
+       double_lock_hb(hb1, hb2);
        op_ret = futex_atomic_op_inuser(op, uaddr2);
        if (unlikely(op_ret < 0)) {
 





Erik Lattimore | Platform Team Lead
PERMABIT TECHNOLOGY CORPORATION
(O) 617-995-9339
elatt@permabit.com
Permabit Blog Library | Dedupe2.com
 
Enterprise Value Tier Storage Solutions
Scalable Data-Reduced Storage for the Enterprise




Reply to: