Re: [patch] O(1) scheduler, -H5

David S. Miller (davem@redhat.com)
Fri, 11 Jan 2002 04:05:37 -0800 (PST)


From: Russell King <rmk@arm.linux.org.uk>
Date: Fri, 11 Jan 2002 11:31:31 +0000

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.

The tty layer is really the only layer that hasn't had any
"SMP love and care" given to it.

Last time I looked at trying to do something it appeared you could fix
the whole thing up with a semaphore for the user bits and a spinlock
with which to interlock with the drivers.
-
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/