[lkml]   [2008]   [Jul]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: Ctrl+C doesn't interrupt process waiting for I/O
    The discussion seems to have become a little heated, so allow me to step
    in here ...

    Andi Kleen <> wrote:
    > Alan Cox wrote:
    > I can't reproduce it, nobody has provided
    >> numbers so even if I wanted to work on it I couldn't do much.
    > Well we had a patch (although I haven't tried it yet)
    > Is that not concrete enough?

    Actually, I'm not to sure whether this really fixes the root cause of
    the problem -- I never have been and I meant to indicate as much in my
    email. It's been the first time I looked at the tty code and the patch
    was mainly guess work; all it does is reverting parts of a previous
    patch. My hope was to direct other people's (read: those who no the tty
    code) attention to a change that seemed to cause the problem. Perhaps I
    didn't make it clear enough at the time that I didn't really know *why*
    this change should cause any problem in the first place.

    Now, the situation has become even more delicate. Joe has reported that
    my patch breaks echoing in the xterm and, rather to my embarrassment, I
    have to report that it doesn't even fix the issue I claumed it would.
    All it apparently does is making the problem slightly harder to
    reproduce which is why it didn't occur in my tests at the time.

    Since I have been concentrating on other things over the last days, it's
    been only today that I discovered this. Moreover, some more testing lead
    me to believe that the root issue has been present in mainline at least
    since 2.6.19 and Joe's change in 2.6.25 only made it visible because you
    now occasionally get something like

    on your screen when you keep pressing Ctrl+Z until the prompt appears;
    in 2.6.24, for instance, there would just be a short delay but no
    irritating output on the screen that makes you wonder.

    Quite frankly, I'm a bit at a loss as to how I should go about debugging
    this and what kind of data might be useful to others to do so. In
    another email Alan talked about latency traces which is something new to
    me. Since the OP talked about latencytop, I hope that this tool provides
    the data Alan requires and will install and make use of it accordingly
    (expect some results later today or tomorrow). Of course, I'm always
    open to other / additional suggestions.



     \ /
      Last update: 2008-07-05 14:53    [W:0.031 / U:2.692 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site