diff options
author | cinap_lenrek <cinap_lenrek@felloff.net> | 2016-11-05 20:05:40 +0100 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@felloff.net> | 2016-11-05 20:05:40 +0100 |
commit | 963497f06b39a4fd9d80476fab732682122479e9 (patch) | |
tree | 23a0ef26d37861d99a451861769b2018ceffd540 /sys/src/9/port/qio.c | |
parent | 240590ab0a2f22011cd36f87220cde7136b18b83 (diff) |
kernel: avoid padblock copying for devtls/devssl/esp, cleanup debugging
to avoid copying in padblock() when adding cryptographics macs to a block
in devtls/devssl/esp we reserve 16 extra bytes to the allocation.
remove qio ixsummary() function and add acid function qiostats() to
/sys/lib/acid/kernel
simplify iallocb(), remove iallocsummary() statitics.
Diffstat (limited to 'sys/src/9/port/qio.c')
-rw-r--r-- | sys/src/9/port/qio.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/sys/src/9/port/qio.c b/sys/src/9/port/qio.c index 4cf1eea6c..6e9525b8e 100644 --- a/sys/src/9/port/qio.c +++ b/sys/src/9/port/qio.c @@ -13,8 +13,6 @@ static ulong consumecnt; static ulong producecnt; static ulong qcopycnt; -static int debugging; - #define QDEBUG if(0) /* @@ -56,17 +54,6 @@ enum uint qiomaxatomic = Maxatomic; -void -ixsummary(void) -{ - debugging ^= 1; - iallocsummary(); - print("pad %lud, concat %lud, pullup %lud, copy %lud\n", - padblockcnt, concatblockcnt, pullupblockcnt, copyblockcnt); - print("consume %lud, produce %lud, qcopy %lud\n", - consumecnt, producecnt, qcopycnt); -} - /* * free a list of blocks */ |