lkml.org 
[lkml]   [2010]   [Mar]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
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    [from the cache]
©2003-2014 Jasper Spaans. hosted at Digital Ocean