Skip to content

Commit

Permalink
[S390] sclp_vt220: speed up console output for interactive work
Browse files Browse the repository at this point in the history
Currently an output buffer can wait up to HZ/2 until the buffer is
flushed. The wait time is noticeable in interactive tools like mc.

Change the value to HZ/20, which seems enough for interactive work.

Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
  • Loading branch information
Christian Borntraeger authored and Martin Schwidefsky committed Mar 5, 2008
1 parent a5e2383 commit fa331ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/s390/char/sclp_vt220.c
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,7 @@ sclp_vt220_timeout(unsigned long data)
sclp_vt220_emit_current();
}

#define BUFFER_MAX_DELAY HZ/2
#define BUFFER_MAX_DELAY HZ/20

/*
* Internal implementation of the write function. Write COUNT bytes of data
Expand Down

0 comments on commit fa331ff

Please sign in to comment.