Re: Two rapid VT_ACTIVATE's

James Simmons (jsimmons@transvirtual.com)
Fri, 5 Apr 2002 09:27:36 -0800 (PST)


> I wonder what happens when somebody calls VT-ACTIVATE in close succession.
> So that the second one overwrites the first one. Let's assume the first one is
> generated by program #1 and the second one by program #2. And some of the programs
> may be using graphics and some of them text. What will happen? Will screen corruption
> and/or kernel crash induced by botched videocard registers result?

In theory the vt_dont_switch lock should protect you from this.

-
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/