[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] sync_lazy_execstate functions are now all arch-specific. We may want
ChangeSet 1.1418, 2005/04/01 10:40:25+01:00, kaf24@xxxxxxxxxxxxxxxxxxxx sync_lazy_execstate functions are now all arch-specific. We may want to finetune their behaviour later. Signed-off-by: Keir Fraser <keir@xxxxxxxxxxxxx> arch/ia64/xenmisc.c | 3 +++ arch/x86/domain.c | 10 ++++++++++ include/xen/sched.h | 4 ++-- 3 files changed, 15 insertions(+), 2 deletions(-) diff -Nru a/xen/arch/ia64/xenmisc.c b/xen/arch/ia64/xenmisc.c --- a/xen/arch/ia64/xenmisc.c 2005-04-01 05:05:36 -05:00 +++ b/xen/arch/ia64/xenmisc.c 2005-04-01 05:05:36 -05:00 @@ -54,6 +54,9 @@ /* calls in xen/common code that are unused on ia64 */ +void sync_lazy_execstate_cpuset(unsigned long cpuset) {} +void sync_lazy_execstate_all(void) {} + int grant_table_create(struct domain *d) { return 0; } void grant_table_destroy(struct domain *d) { diff -Nru a/xen/arch/x86/domain.c b/xen/arch/x86/domain.c --- a/xen/arch/x86/domain.c 2005-04-01 05:05:36 -05:00 +++ b/xen/arch/x86/domain.c 2005-04-01 05:05:36 -05:00 @@ -864,6 +864,16 @@ return 1; } +void sync_lazy_execstate_cpuset(unsigned long cpuset) +{ + flush_tlb_mask(cpuset); +} + +void sync_lazy_execstate_all(void) +{ + flush_tlb_all(); +} + unsigned long __hypercall_create_continuation( unsigned int op, unsigned int nr_args, ...) { diff -Nru a/xen/include/xen/sched.h b/xen/include/xen/sched.h --- a/xen/include/xen/sched.h 2005-04-01 05:05:36 -05:00 +++ b/xen/include/xen/sched.h 2005-04-01 05:05:36 -05:00 @@ -255,8 +255,8 @@ * Force loading of currently-executing domain state on the specified set * of CPUs. This is used to counteract lazy state switching where required. */ -#define sync_lazy_execstate_cpuset(_cpuset) flush_tlb_mask(_cpuset) -#define sync_lazy_execstate_all() flush_tlb_all() +extern void sync_lazy_execstate_cpuset(unsigned long cpuset); +extern void sync_lazy_execstate_all(void); extern int __sync_lazy_execstate(void); extern void context_switch( _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |