[lkml]   [2010]   [Mar]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [RFC 9/9] tty: implement BTM as mutex instead of BKL
On Tue, Mar 30, 2010 at 10:56:20PM +0200, Arnd Bergmann wrote:
> +config TTY_MUTEX
> + bool "Use a mutex instead of BKL for TTY locking"
> + depends on EXPERIMENTAL && SMP

You still need it on UP-PREEMPT.

The bkl disables preemption so you need to "reproduce"
this atomicity by locking your path.

 \ /
  Last update: 2010-03-31 00:53    [W:0.050 / U:1.256 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site