| version 1.166, 2008/05/26 17:21:18 |
version 1.167, 2008/05/28 21:01:42 |
| Line 69 __KERNEL_RCSID(0, "$NetBSD$"); |
|
| Line 69 __KERNEL_RCSID(0, "$NetBSD$"); |
|
| #include "opt_sosend_loan.h" |
#include "opt_sosend_loan.h" |
| #include "opt_mbuftrace.h" |
#include "opt_mbuftrace.h" |
| #include "opt_somaxkva.h" |
#include "opt_somaxkva.h" |
| |
#include "opt_multiprocessor.h" /* XXX */ |
| |
|
| #include <sys/param.h> |
#include <sys/param.h> |
| #include <sys/systm.h> |
#include <sys/systm.h> |
| Line 127 EVCNT_ATTACH_STATIC(sosend_kvalimit); |
|
| Line 128 EVCNT_ATTACH_STATIC(sosend_kvalimit); |
|
| |
|
| static struct callback_entry sokva_reclaimerentry; |
static struct callback_entry sokva_reclaimerentry; |
| |
|
| #ifdef SOSEND_NO_LOAN |
#if defined(SOSEND_NO_LOAN) || defined(MULTIPROCESSOR) |
| int sock_loan_thresh = -1; |
int sock_loan_thresh = -1; |
| #else |
#else |
| int sock_loan_thresh = 4096; |
int sock_loan_thresh = 4096; |