lkml.org 
[lkml]   [1998]   [Apr]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: printk not thread safe, buf is static
    Hi!

    > The buffer used by printk() is static so, for example, if while printk()
    > is running an interrupt will happen and its interrupt handler will use
    > printk() too, the first printk() will not run as expected. Maybe this can
    > happen also in a SMP machine (in 2.1.x kernel of course).

    I think that that is known limitation. What worse can happen?
    Corrupted messages? Solve it when it happens.

    Pavel

    --
    The best software in life is free (not shareware)! Pavel
    GCM d? s-: !g p?:+ au- a--@ w+ v- C++@ UL+++ L++ N++ E++ W--- M- Y- R+

    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.rutgers.edu

    \
     
     \ /
      Last update: 2005-03-22 13:42    [W:0.029 / U:1.916 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site