Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/pad pad blocksize 1024 -> 8192. Helps when sleeping...



details:   https://anonhg.NetBSD.org/src/rev/86c81c468d99
branches:  trunk
changeset: 354175:86c81c468d99
user:      nat <nat%NetBSD.org@localhost>
date:      Tue Jun 06 07:31:40 2017 +0000

description:
pad blocksize 1024 -> 8192.  Helps when sleeping in rate limiter.

diffstat:

 sys/dev/pad/padvar.h |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 4d34f3db422b -r 86c81c468d99 sys/dev/pad/padvar.h
--- a/sys/dev/pad/padvar.h      Tue Jun 06 07:29:35 2017 +0000
+++ b/sys/dev/pad/padvar.h      Tue Jun 06 07:31:40 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: padvar.h,v 1.8 2017/05/27 10:02:26 nat Exp $ */
+/* $NetBSD: padvar.h,v 1.9 2017/06/06 07:31:40 nat Exp $ */
 
 /*-
  * Copyright (c) 2007 Jared D. McNeill <jmcneill%invisible.ca@localhost>
@@ -44,7 +44,7 @@
        struct audio_softc *sc_audiodev;
        int             sc_blksize;
 
-#define PAD_BLKSIZE    1024
+#define PAD_BLKSIZE    8192
 #define PAD_BUFSIZE    65536
        uint8_t         sc_audiobuf[PAD_BUFSIZE];
        uint32_t        sc_buflen;



Home | Main Index | Thread Index | Old Index