M port/allocb.c => port/allocb.c +5 -1
@@ 63,7 63,11 @@ allocb(int size)
if(up == nil)
panic("allocb without up: %uX\n", getcallerpc(&size));
if((b = _allocb(size)) == nil)
- panic("allocb: no memory\n");
+{
+xsummary();
+mallocsummary();
+ panic("allocb: no memory for %d bytes\n", size);
+}
setmalloctag(b, getcallerpc(&size));
return b;
M port/devdraw.c => port/devdraw.c +1 -0
@@ 948,6 948,7 @@ drawopen(Chan *c, int omode)
c->mode = openmode(omode);
c->flag |= COPEN;
c->offset = 0;
+ c->iounit = 32*1024;
return c;
}
M port/qio.c => port/qio.c +1 -1
@@ 1187,7 1187,7 @@ qbwrite(Queue *q, Block *b)
* flow control, wait for queue to get below the limit
* before allowing the process to continue and queue
* more. We do this here so that postnote can only
- * interrupt us after the data has been quued. This
+ * interrupt us after the data has been queued. This
* means that things like 9p flushes and ssl messages
* will not be disrupted by software interrupts.
*