public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
[parent not found: <20020111091744.B1170@w-mikek2.des.beaverton.ibm.com>]
* [patch] O(1) scheduler, -H5
@ 2002-01-11  0:38 Ingo Molnar
  2002-01-11 11:31 ` Russell King
  0 siblings, 1 reply; 11+ messages in thread
From: Ingo Molnar @ 2002-01-11  0:38 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: linux-kernel


the -H5 patch adds a debugging check:

    http://redhat.com/~mingo/O(1)-scheduler/sched-O1-2.5.2-pre11-H5.patch

it adds code to catch places that call schedule() from global-cli()
sections. Right now release_kernel_lock() doesnt automatically release the
IRQ lock if there is no kernel lock held. A fair amount of code does this
still, and i think we should fix them in 2.5.

(Such code, while of questionable quality, is safe if it also holds the
big kernel lock, but it's definitely SMP-unsafe it doesnt hold the bkl -
the BUG() assert only catches the later case.)

(Andi Kleen noticed this on the first day the patch was released, and
Andrew Morton reminded me today that i forgot to fix it ... :-| )

my systems do not trigger the BUG(), so there cannot be all that much
broken code left.

	Ingo


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2002-01-13 15:21 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <Pine.LNX.4.33.0201110130290.11478-100000@localhost.localdomain.suse.lists.linux.kernel>
     [not found] ` <20020111113131.C30756@flint.arm.linux.org.uk.suse.lists.linux.kernel>
2002-01-11 11:42   ` [patch] O(1) scheduler, -H5 Andi Kleen
2002-01-11 11:57     ` Russell King
2002-01-11 12:00     ` Arjan van de Ven
     [not found] <20020111091744.B1170@w-mikek2.des.beaverton.ibm.com>
2002-01-13 17:18 ` Ingo Molnar
2002-01-11  0:38 Ingo Molnar
2002-01-11 11:31 ` Russell King
2002-01-11 12:05   ` David S. Miller
2002-01-11 13:09   ` Alan Cox
2002-01-11 14:58     ` Russell King
2002-01-11 15:22       ` Alan Cox
2002-01-11 15:23         ` Russell King

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox