From 322a580281bdea182c92602f0b10b07e890dc0c1 Mon Sep 17 00:00:00 2001 From: David du Colombier <0intro@gmail.com> Date: Wed, 25 Jan 1995 00:00:00 +0000 Subject: [PATCH] Plan 9 from Bell Labs 1995-01-25 --- port/qio.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/port/qio.c b/port/qio.c index dfe59756a915e220ead95edb14c3b823a7ff81a0..5e2471c520ddee3baf0b1ee82b6a24dfad497504 100644 --- a/port/qio.c +++ b/port/qio.c @@ -24,7 +24,7 @@ struct Queue { Lock; - Block* bfirst; /* buffer */ + Block* bfirst; /* buffer */ Block* blast; int len; /* bytes in queue */ @@ -81,7 +81,7 @@ iallocb(int size) size = sizeof(Block) + size + (BY2V-1); if(ialloc.bytes > conf.ialloc){ - iprint("ialloc limit %d/%d\n", ialloc.bytes, conf.ialloc); + iprint("iallocb: limited %d/%d\n", ialloc.bytes, conf.ialloc); return 0; } b = mallocz(size, 0); @@ -110,8 +110,8 @@ void freeb(Block *b) { /* - * drivers which perform non cache coherent DMA manage their - * own buffer pool and provide their own free routine. + * drivers which perform non cache coherent DMA manage their own buffer + * pool of uncached buffers and provide their own free routine. */ if(b->free) { b->free(b); @@ -485,7 +485,7 @@ qread(Queue *q, void *vp, int len) iunlock(q); } - /* wakeup flow controlled writers (with a bit of histeresis) */ + /* wakeup flow controlled writers (with a bit of histeria) */ if(dowakeup){ if(q->kick) (*q->kick)(q->arg);