Date: Mon, 2 Dec 1996 17:46:14 -0800 (PST) From: Peter Wemm <peter> To: freebsd-smp Subject: cvs commit: sys/i386/include smp.h Message-ID: <199612030146.RAA28588@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199612030146.RAA28588>