can allocate more clusters later, don't need so many at first
authorMike Karels <karels@ucbvax.Berkeley.EDU>
Mon, 2 Jun 1986 07:30:13 +0000 (23:30 -0800)
committerMike Karels <karels@ucbvax.Berkeley.EDU>
Mon, 2 Jun 1986 07:30:13 +0000 (23:30 -0800)
SCCS-vsn: sys/kern/uipc_mbuf.c 6.10

usr/src/sys/kern/uipc_mbuf.c

index 7fb344f..5b3e303 100644 (file)
@@ -3,7 +3,7 @@
  * All rights reserved.  The Berkeley software License Agreement
  * specifies the terms and conditions for redistribution.
  *
  * All rights reserved.  The Berkeley software License Agreement
  * specifies the terms and conditions for redistribution.
  *
- *     @(#)uipc_mbuf.c 6.9 (Berkeley) %G%
+ *     @(#)uipc_mbuf.c 6.10 (Berkeley) %G%
  */
 
 #include "../machine/pte.h"
  */
 
 #include "../machine/pte.h"
@@ -25,7 +25,7 @@ mbinit()
        s = splimp();
        if (m_clalloc(4096/CLBYTES, MPG_MBUFS, M_DONTWAIT) == 0)
                goto bad;
        s = splimp();
        if (m_clalloc(4096/CLBYTES, MPG_MBUFS, M_DONTWAIT) == 0)
                goto bad;
-       if (m_clalloc(8*4096/CLBYTES, MPG_CLUSTERS, M_DONTWAIT) == 0)
+       if (m_clalloc(4096/CLBYTES, MPG_CLUSTERS, M_DONTWAIT) == 0)
                goto bad;
        splx(s);
        return;
                goto bad;
        splx(s);
        return;