Re: How to lock current->signal->tty

Alan Cox
2006-08-08T17:32:10Z

Ar Maw, 2006-08-08 am 09:41 -0700, ysgrifennodd Luck, Tony:
> unaligned accesses at all is rather controversial. So its a 50-50
> shot whether I'll fix it by adding the mutex_lock/mutex_unlock
> around the use of current->signal->tty, or just rip this out and
> just leave the printk().

Personally I'd just rip it out full stop. Its trivial to use kprobes and
friends to audit such things if there is a performance concern.

Alan