Yes it is legal. BTW kill_proc is only called when the virtual console is
in VT_PROCESS mode. This is used for manual VC switching when the vitrual
console is in RAW mode. Also kmalloc is not called. Note a new VC is not
allocated in the interrupt handler as stated in console_softint.
> Secondly, this is all done with console_lock held, so if anyone does a
> printk() will it not deadlock?
No. The point of the lock is to insure that printk, vcsa, or softint are
not being used at the same time.
Q: Why did they deprecate a.out support in linux?
A: Because a nasty coff is bad for your elf.
James Simmons [jsimmons@linux-fbdev.org] ____/|
fbdev/console/gfx developer \ o.O|
http://www.linux-fbdev.org =(_)=
http://linuxgfx.sourceforge.net U
http://linuxconsole.sourceforge.net
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/