[lkml]   [2006]   [Jun]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: OpenGL-based framebuffer concepts
    "Antonino A. Daplas" <> wrote:
    > Console writes are done with the console semaphore held. printk will also
    > just write to the log buffer and defer the actual console printing
    > for later, by the next or current process that will grab the semaphore.

    Always by the current process which holds console_sem. Leaving the printing
    for the next process would be unacceptably too late for printk.

    If printk sees that someone holds console_sem, printk will leave the data
    in the log buffer for the current holder of console_sem to print, prior to
    that caller releasing console_sem. logbuf_log is used in tricky ways
    around console_sem to prevent races in this logic.
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2006-06-02 01:00    [W:0.020 / U:116.476 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site