38c38
< __FBSDID("$FreeBSD: head/sys/kern/subr_param.c 245469 2013-01-15 19:26:17Z alfred $");
---
> __FBSDID("$FreeBSD: head/sys/kern/subr_param.c 245575 2013-01-17 21:28:31Z andre $");
96d95
< quad_t maxmbufmem; /* max mbuf memory */
277d275
< quad_t realmem;
337,348d334
< * The default limit for all mbuf related memory is 1/2 of all
< * available kernel memory (physical or kmem).
< * At most it can be 3/4 of available kernel memory.
< */
< realmem = qmin((quad_t)physpages * PAGE_SIZE,
< VM_MAX_KERNEL_ADDRESS - VM_MIN_KERNEL_ADDRESS);
< maxmbufmem = realmem / 2;
< TUNABLE_QUAD_FETCH("kern.maxmbufmem", &maxmbufmem);
< if (maxmbufmem > (realmem / 4) * 3)
< maxmbufmem = (realmem / 4) * 3;
<
< /*
< __FBSDID("$FreeBSD: head/sys/kern/subr_param.c 245469 2013-01-15 19:26:17Z alfred $");
---
> __FBSDID("$FreeBSD: head/sys/kern/subr_param.c 245575 2013-01-17 21:28:31Z andre $");
96d95
< quad_t maxmbufmem; /* max mbuf memory */
277d275
< quad_t realmem;
337,348d334
< * The default limit for all mbuf related memory is 1/2 of all
< * available kernel memory (physical or kmem).
< * At most it can be 3/4 of available kernel memory.
< */
< realmem = qmin((quad_t)physpages * PAGE_SIZE,
< VM_MAX_KERNEL_ADDRESS - VM_MIN_KERNEL_ADDRESS);
< maxmbufmem = realmem / 2;
< TUNABLE_QUAD_FETCH("kern.maxmbufmem", &maxmbufmem);
< if (maxmbufmem > (realmem / 4) * 3)
< maxmbufmem = (realmem / 4) * 3;
<
< /*