From owner-freebsd-smp Mon Dec 2 17:46:17 1996 Return-Path: owner-smp Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id RAA28597 for smp-outgoing; Mon, 2 Dec 1996 17:46:17 -0800 (PST) Received: (from peter@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id RAA28588 for freebsd-smp; Mon, 2 Dec 1996 17:46:14 -0800 (PST) Date: Mon, 2 Dec 1996 17:46:14 -0800 (PST) From: Peter Wemm Message-Id: <199612030146.RAA28588@freefall.freebsd.org> To: freebsd-smp Subject: cvs commit: sys/i386/include smp.h Sender: owner-smp@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk peter 96/12/02 17:46:14 Modified: i386/include smp.h Log: Add prototypes for pmap_bootstrap2() and smp_invltlb(). There is a problem here.. invltlb() is an inline function. smp_invltlb() is not. the IPI routines are inline. (FAST_IPI is default it seems) The reason why smp_invltlb() is not inline is because all users of cpufunc.h would also need to have the inline definitions from mpapic.h #included already, so opt_smp.h gets an even wider impact scope etc. Also, if it were inline, the size of the code generated by a call to invltlb() would be even more expensive and the cache hits would probably make it cheaper to be a plain function call with no inlining. Revision Changes Path 1.22 +5 -1 sys/i386/include/smp.h