Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S267345AbUIOTix (ORCPT ); Wed, 15 Sep 2004 15:38:53 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S267333AbUIOTic (ORCPT ); Wed, 15 Sep 2004 15:38:32 -0400 Received: from mx1.elte.hu ([157.181.1.137]:4770 "EHLO mx1.elte.hu") by vger.kernel.org with ESMTP id S267350AbUIOThs (ORCPT ); Wed, 15 Sep 2004 15:37:48 -0400 Date: Wed, 15 Sep 2004 21:39:11 +0200 From: Ingo Molnar To: Ricky Beam Cc: Linux Kernel Mail List Subject: Re: [patch] remove the BKL (Big Kernel Lock), this time for real Message-ID: <20040915193911.GA17052@elte.hu> References: <20040915155555.GA11019@elte.hu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.1i X-ELTE-SpamVersion: MailScanner 4.31.6-itk1 (ELTE 1.2) SpamAssassin 2.63 ClamAV 0.73 X-ELTE-VirusStatus: clean X-ELTE-SpamCheck: no X-ELTE-SpamCheck-Details: score=-4.9, required 5.9, autolearn=not spam, BAYES_00 -4.90 X-ELTE-SpamLevel: X-ELTE-SpamScore: -4 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1054 Lines: 27 * Ricky Beam wrote: > On Wed, 15 Sep 2004, Ingo Molnar wrote: > >yes, but progress in this area seems to have slowed down, and people are > >hurting from the latencies introduced by the BKL meanwhile. Who cares if > >some rare big chunk of code runs under a semaphore, as long as it's > >preemptable? > > "as long as it's preemptable" is the key there. Not all arch's can > run with PREEMPT enabled (yet) -- sparc/sparc64 for but one. And at > the moment, PREEMPT is a bit on the hosed side. there's no problem at all - with my patch you'll still get the other advantage: - there is no time wasted spinning on the BKL if there's BKL contention so if a platform doesnt support PREEMPT (or a user doesnt enable it) then BKS-holding kernel code wont be preempted of course. Ingo - 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/