ia64/xen-unstable

changeset 3115:955dddec4861

bitkeeper revision 1.1159.1.452 (41a518b5fn2ukjMlz6_PRNf0x_pLeQ)

sched.h, entry.S:
XXX Disable hypercall preemption for now.
author cl349@arcadians.cl.cam.ac.uk
date Wed Nov 24 23:26:45 2004 +0000 (2004-11-24)
parents a778ae82fcb3
children 96f143b7c63d
files xen/arch/x86/x86_32/entry.S xen/include/xen/sched.h
line diff
     1.1 --- a/xen/arch/x86/x86_32/entry.S	Wed Nov 24 23:25:26 2004 +0000
     1.2 +++ b/xen/arch/x86/x86_32/entry.S	Wed Nov 24 23:26:45 2004 +0000
     1.3 @@ -98,8 +98,8 @@ multicall_loop:
     1.4          movl  4(%esp),%ecx               # %ecx = struct domain
     1.5          movl  EDOMAIN_processor(%ecx),%eax
     1.6          shl   $6,%eax                    # sizeof(irq_cpustat) == 64
     1.7 -        testl $~0,SYMBOL_NAME(irq_stat)(%eax,1)
     1.8 -        jnz   multicall_preempt
     1.9 +        #testl $~0,SYMBOL_NAME(irq_stat)(%eax,1)
    1.10 +        #jnz   multicall_preempt
    1.11  multicall_fault1: 
    1.12          pushl 20(%ebx)      # args[4]
    1.13  multicall_fault2: 
     2.1 --- a/xen/include/xen/sched.h	Wed Nov 24 23:25:26 2004 +0000
     2.2 +++ b/xen/include/xen/sched.h	Wed Nov 24 23:26:45 2004 +0000
     2.3 @@ -258,6 +258,7 @@ void continue_cpu_idle_loop(void);
     2.4  void continue_nonidle_task(void);
     2.5  
     2.6  void hypercall_create_continuation(unsigned int op, unsigned int nr_args, ...);
     2.7 +#if 0
     2.8  #define hypercall_may_preempt(_op, _nr_args, _args...)               \
     2.9      do {                                                             \
    2.10          if ( unlikely(softirq_pending(smp_processor_id())) ) {       \
    2.11 @@ -271,6 +272,10 @@ void hypercall_create_continuation(unsig
    2.12              UNLOCK_BIGLOCK(_d);                                      \
    2.13              return _op;                                              \
    2.14      } } while ( 0 )
    2.15 +#else
    2.16 +#define hypercall_may_preempt(_op, _nr_args, _args...)
    2.17 +#define locked_hypercall_may_preempt(_d, _op, _nr_args, _args...)
    2.18 +#endif
    2.19  
    2.20  /* This domain_hash and domain_list are protected by the domlist_lock. */
    2.21  #define DOMAIN_HASH_SIZE 256