Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. =================================================================== RCS file: /ftp/cvs/cvsroot/src/sys/kern/uipc_socket.c,v retrieving revision 1.166 retrieving revision 1.167 diff -u -p -r1.166 -r1.167 --- src/sys/kern/uipc_socket.c 2008/05/26 17:21:18 1.166 +++ src/sys/kern/uipc_socket.c 2008/05/28 21:01:42 1.167 @@ -1,4 +1,4 @@ -/* $NetBSD: uipc_socket.c,v 1.166 2008/05/26 17:21:18 ad Exp $ */ +/* $NetBSD: uipc_socket.c,v 1.167 2008/05/28 21:01:42 ad Exp $ */ /*- * Copyright (c) 2002, 2007, 2008 The NetBSD Foundation, Inc. @@ -63,12 +63,13 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: uipc_socket.c,v 1.166 2008/05/26 17:21:18 ad Exp $"); +__KERNEL_RCSID(0, "$NetBSD: uipc_socket.c,v 1.167 2008/05/28 21:01:42 ad Exp $"); #include "opt_sock_counters.h" #include "opt_sosend_loan.h" #include "opt_mbuftrace.h" #include "opt_somaxkva.h" +#include "opt_multiprocessor.h" /* XXX */ #include #include @@ -127,7 +128,7 @@ EVCNT_ATTACH_STATIC(sosend_kvalimit); static struct callback_entry sokva_reclaimerentry; -#ifdef SOSEND_NO_LOAN +#if defined(SOSEND_NO_LOAN) || defined(MULTIPROCESSOR) int sock_loan_thresh = -1; #else int sock_loan_thresh = 4096;