Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261532AbVEIVmn (ORCPT ); Mon, 9 May 2005 17:42:43 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261534AbVEIVmn (ORCPT ); Mon, 9 May 2005 17:42:43 -0400 Received: from fire.osdl.org ([65.172.181.4]:17102 "EHLO smtp.osdl.org") by vger.kernel.org with ESMTP id S261532AbVEIVmk (ORCPT ); Mon, 9 May 2005 17:42:40 -0400 Date: Mon, 9 May 2005 14:42:55 -0700 From: Andrew Morton To: Christoph Lameter Cc: oleg@tv-sign.ru, linux-kernel@vger.kernel.org, torvalds@osdl.org, mingo@elte.hu, kenneth.w.chen@intel.com Subject: Re: [RFC][PATCH] timers fixes/improvements Message-Id: <20050509144255.17d3b9aa.akpm@osdl.org> In-Reply-To: References: <424D373F.1BCBF2AC@tv-sign.ru> <424E6441.12A6BC03@tv-sign.ru> X-Mailer: Sylpheed version 1.0.0 (GTK+ 1.2.10; i386-vine-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1531 Lines: 41 Christoph Lameter wrote: > > We have some strange race conditions as a result of the timer > scalability fixes. > > ptype_all is set to 0x10:0x10 on faster systems (Xeon 3.6Ghz). > Slower systems do fine(Xeon 3.0Ghz) and do not corrupt ptype_all. > > Its not clear to me how ptype_all could relate to timer operations I'd do `nm -n vmlinux', see which data structures the linker placed nearby to ptype_all and then go looking for overruns against them. ptype_base is an array, but I cannot see any race around ptype_base. So look to see if ptype_base is corrupted as well, keep walking back through memory, see where the scribble starts. > but > if I apply these timer patches I get ptype_all corruption. > > timers-fixes-improvements.patch > timers-fixes-improvements-smp_processor_id-fix.patch > timers-fixes-improvements-fix.patch > timer-deadlock-fix > (It does not matter if the last three are applied) 2.6.12-rc3-mm3 has different patches: timers-fixes-improvements.patch timers-fixes-improvements-smp_processor_id-fix.patch timers-fixes-improvements-fix.patch timers-fix-__mod_timer-vs-__run_timers-deadlock.patch timers-fix-__mod_timer-vs-__run_timers-deadlock-tidy.patch timers-comments-update.patch kernel-timerc-remove-a-goto-construct.patch - 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/