Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Thu, 5 Sep 2002 05:01:33 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Thu, 5 Sep 2002 05:01:33 -0400 Received: from e1.ny.us.ibm.com ([32.97.182.101]:20931 "EHLO e1.ny.us.ibm.com") by vger.kernel.org with ESMTP id ; Thu, 5 Sep 2002 05:01:32 -0400 Date: Thu, 5 Sep 2002 14:40:23 +0530 From: Dipankar Sarma To: rusty@rustcorp.com.au Cc: Linus Torvalds , Andrew Morton , Dave Miller , linux-kernel@vger.kernel.org Subject: Re: [PATCH] Important per-cpu fix. Message-ID: <20020905144023.A14040@in.ibm.com> Reply-To: dipankar@in.ibm.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1088 Lines: 26 In article <20020904023535.73D922C12D@lists.samba.org> Rusty Russell wrote: > Frankly, I'm amazed the kernel worked for long without this. > Every linker script thinks the section is called .data.percpu. > Without this patch, every CPU ends up sharing the same "per-cpu" > variable. > This might explain the wierd per-cpu problem reports from Andrew and > Dave, and also that nagging feeling that I'm an idiot... Not only does this fix the tasklet BUG with 2.5.32 but it also fixes a serial console hang with my 2.5.32 version of Ingo/Davem/Alexey's scalable timers code that I have been debugging for the last two days. I use a per-cpu tasklet to run the timers, so it was probably killing me there. Thanks -- Dipankar Sarma http://lse.sourceforge.net Linux Technology Center, IBM Software Lab, Bangalore, India. - 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/