Re: [PATCH 0/13] remove cli()/sti() in drivers/char/*

From: Jim Nelson
Date: Sun Jan 16 2005 - 15:15:34 EST


Randy.Dunlap wrote:
James Nelson wrote:

This series of patches removes the last cli()/sti()/save_flags()/restore_flags()
function calls in drivers/char.


to what end?

I guess I don't get it. What makes these drivers SMP-safe now?

Or is this series of patches only done to kill off the use
of deprecated functions? If that's the case, they could
easily give someone the (false) expectation that the drivers
are SMP-safe, couldn't they? Well, ftape (for one) is still
marked as BROKEN_ON_SMP, but will people know why it's
marked that way?

Have you read Documentation/cli-sti-removal.txt ?

I have. This is just to get rid of the deprecated functions - most of this stuff is already marked BROKEN_ON_SMP (stallion, serial_tx3912, epca, esp, istallion, riscom8, ftape, pcxx and moxa), and ite_gpio.c is a driver for a UP system board.

Maybe later (when I have more of an understanding of serial_core, and major driver overhaul) I can tackle actually fixing them, but right now, I'm just doing cleanup work.

Jim
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/