Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760110AbXFRI03 (ORCPT ); Mon, 18 Jun 2007 04:26:29 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753676AbXFRI0V (ORCPT ); Mon, 18 Jun 2007 04:26:21 -0400 Received: from mail-gw1.sa.eol.hu ([212.108.200.67]:55000 "EHLO mail-gw1.sa.eol.hu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754363AbXFRI0V (ORCPT ); Mon, 18 Jun 2007 04:26:21 -0400 To: mingo@elte.hu CC: cebbert@redhat.com, chris@atlee.ca, linux-kernel@vger.kernel.org, tglx@linutronix.de, torvalds@linux-foundation.org, akpm@linux-foundation.org In-reply-to: <20070618081204.GA11153@elte.hu> (message from Ingo Molnar on Mon, 18 Jun 2007 10:12:04 +0200) Subject: Re: [BUG] long freezes on thinkpad t60 References: <20070524144447.GA25068@elte.hu> <20070524210153.GB19672@elte.hu> <20070616103707.GA28096@elte.hu> <20070618064343.GA31113@elte.hu> <20070618081204.GA11153@elte.hu> Message-Id: From: Miklos Szeredi Date: Mon, 18 Jun 2007 10:25:20 +0200 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 738 Lines: 18 > To test this theory, could you try the patch below, does this fix your > hangs too? Not tried yet, but obviously it does, since it's a superset of the previous fix. I could try without the smb_mb(), but see below. > This change causes the memory access of the "easy" spin-loop portion > to be more agressive: after the REP; NOP we'd not do the 'easy-loop' > with a simple CMPB, but we'd re-attempt the atomic op. It looks as if this is going to overflow of the lock counter, no? Miklos - 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/