Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Fri, 11 Jan 2002 06:42:50 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Fri, 11 Jan 2002 06:42:30 -0500 Received: from ns.suse.de ([213.95.15.193]:44297 "HELO Cantor.suse.de") by vger.kernel.org with SMTP id ; Fri, 11 Jan 2002 06:42:21 -0500 To: Russell King Cc: linux-kernel@vger.kernel.org Subject: Re: [patch] O(1) scheduler, -H5 In-Reply-To: <20020111113131.C30756@flint.arm.linux.org.uk.suse.lists.linux.kernel> From: Andi Kleen Date: 11 Jan 2002 12:42:14 +0100 In-Reply-To: Russell King's message of "11 Jan 2002 12:37:44 +0100" Message-ID: Lines: 11 X-Mailer: Gnus v5.7/Emacs 20.6 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Russell King writes: > > The serial driver (old or new) open/close functions are one of the worst > offenders of the global-cli-and-hold-kernel-lock-and-schedule problem. > I'm currently working on fixing this in the new serial driver. When they hold the kernel lock in addition to the global cli() before schedule() it should be ok. Only the behaviour of code not holding kernel lock but global cli and calling schedule() has changed. -Andi - 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/