lkml.org 
[lkml]   [2009]   [Jul]   [28]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateTue, 28 Jul 2009 19:56:51 +0100
FromAlan Cox <>
SubjectRe: [PATCH] kdesu broken
> My point is that a program _should_ be able to depend on simple causality 
> when it comes to ordering rules. If the child did a write() before
> exiting, then we should see the data before SIGCHLD.
>
> It's really that simple.

In which case you need the write to be synchronous to the ldisc
processing. Which is what tty->low_latency = 1 did. That provides your
required causality.

So what exactly is the problem. Setting ->low_latency has a small
performance impact which was why I was trying the other stuff, but that
is all.

As I said tty->low_latency = 1 gives you the previous semantics.

Alan


\
 
 \ /
  Last update: 2009-07-28 20:59    [from the cache]
©2003-2009