moreau francis <[EMAIL PROTECTED]> wrote:
>
> By the way, is it safe in "n_tty_receive_overrun" to
> call
> "printk" ? because the former can be called from IT
> context...
yup. printk() is safe from all contexts except NMI.
-
To unsubscribe from this list: send the line "unsubscribe
--- Andrew Morton <[EMAIL PROTECTED]> wrote:
> moreau francis <[EMAIL PROTECTED]> wrote:
>
> How does this look?
>
It works well though I haven't tested the second
correction. But it looks good...
By the way, is it safe in "n_tty_receive_overrun" to
call
"printk" ? because the former can be
moreau francis <[EMAIL PROTECTED]> wrote:
>
> I noticed that TTY is not able to notify overrun issue
> in "n_tty_receive_overrun". Actually it's because of
> "time_before" macro which tests "tty->overrun_time"
> (equals to 0) against "jiffies - HZ" (something very
> big
> after booting).
>
I noticed that TTY is not able to notify overrun issue
in "n_tty_receive_overrun". Actually it's because of
"time_before" macro which tests "tty->overrun_time"
(equals to 0) against "jiffies - HZ" (something very
big
after booting).
I guess a simple way to solve it, is to initialize
I noticed that TTY is not able to notify overrun issue
in n_tty_receive_overrun. Actually it's because of
time_before macro which tests tty-overrun_time
(equals to 0) against jiffies - HZ (something very
big
after booting).
I guess a simple way to solve it, is to initialize
tty-overrun_time to
moreau francis [EMAIL PROTECTED] wrote:
I noticed that TTY is not able to notify overrun issue
in n_tty_receive_overrun. Actually it's because of
time_before macro which tests tty-overrun_time
(equals to 0) against jiffies - HZ (something very
big
after booting).
I guess a simple
--- Andrew Morton [EMAIL PROTECTED] wrote:
moreau francis [EMAIL PROTECTED] wrote:
How does this look?
It works well though I haven't tested the second
correction. But it looks good...
By the way, is it safe in n_tty_receive_overrun to
call
printk ? because the former can be called from IT
moreau francis [EMAIL PROTECTED] wrote:
By the way, is it safe in n_tty_receive_overrun to
call
printk ? because the former can be called from IT
context...
yup. printk() is safe from all contexts except NMI.
-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the
8 matches
Mail list logo