Convert termios to RCU (was Re: [PATCH tty-next 0/4] tty: Fix ^Cecho)

From: Peter Hurley
Date: Tue Dec 03 2013 - 12:23:36 EST


On 12/03/2013 09:20 AM, One Thousand Gnomes wrote:
As a PS: I think the termios is probably an RCU problem. The semaphore
seemed to make sense when I did it, but in hindsight I think I made the
wrong call.

Alan,

Converting safe termios access to RCU is a really good idea.

Massive changeset though, if only because tty->termios would have to be
a struct termios __rcu *.

Regards,
Peter Hurley

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