lkml.org 
[lkml]   [2006]   [Aug]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: How to lock current->signal->tty
    From
    Date
    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

    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2006-08-08 19:35    [W:0.020 / U:22.856 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site