aboutsummaryrefslogtreecommitdiffstats
path: root/xen/include/xen/smp.h
diff options
context:
space:
mode:
authorkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>2005-04-01 09:23:54 +0000
committerkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>2005-04-01 09:23:54 +0000
commit00e8ef76050dfdbe9b94b31cae18f29cb3f2fb4a (patch)
tree6181005f61e3af4d399b40befbbe7cdee240a986 /xen/include/xen/smp.h
parent354e7e4b6ad36edaabef670e3dcffa96e978586a (diff)
downloadxen-00e8ef76050dfdbe9b94b31cae18f29cb3f2fb4a.tar.gz
xen-00e8ef76050dfdbe9b94b31cae18f29cb3f2fb4a.tar.bz2
xen-00e8ef76050dfdbe9b94b31cae18f29cb3f2fb4a.zip
bitkeeper revision 1.1236.1.181 (424d132aYORx7PllUl-nlTBMndGn4g)
Improved lazy state switching -- flush the state switch through on the first flush IPI received. This avoids needing to receive any further ones at little cost (needed to flush TLB anyway). The main extra cost will be that, when switching back to a guest, we won't save the ctxt switch. But we may have saved an unbounded number of IPI flushes. Signed-off-by: Keir Fraser <keir@xensource.com>
Diffstat (limited to 'xen/include/xen/smp.h')
-rw-r--r--xen/include/xen/smp.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/xen/include/xen/smp.h b/xen/include/xen/smp.h
index f3f08127b6..df80e23295 100644
--- a/xen/include/xen/smp.h
+++ b/xen/include/xen/smp.h
@@ -45,8 +45,6 @@ extern void smp_commence(void);
*/
extern int smp_call_function(
void (*func) (void *info), void *info, int retry, int wait);
-extern int smp_subset_call_function(
- void (*func) (void *info), void *info, int wait, unsigned long cpuset);
/*
* True once the per process idle is forked
@@ -87,7 +85,6 @@ extern volatile int smp_msg_id;
#define cpu_logical_map(cpu) 0
#define cpu_number_map(cpu) 0
#define smp_call_function(func,info,retry,wait) 0
-#define smp_subset_call_function(f,i,w,c) ({ if ( (c&1) ) (*f)(i); 0; })
#define cpu_online_map 1
#endif