[lkml]   [2008]   [Oct]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [RFC PATCH 4/5] hvc_console: Add tty window resizing
    > Since tty_do_resize() cannot be called holding the hp spinlock; the code uses
    > now tty_kref_get/put to keep track of the tty object. I am not sure if the
    > use of the kref's is correct here, so please let me know if there is a better
    > solution.

    That looks right to me, hp->tty can go NULL but the tty object itself
    will still have a reference even if the asynchronous events kick off late

     \ /
      Last update: 2008-10-14 18:31    [W:0.017 / U:1.084 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site