Skip to content
Snippets Groups Projects
  1. Oct 07, 2013
  2. Oct 06, 2013
  3. Oct 05, 2013
  4. Oct 04, 2013
  5. Oct 03, 2013
  6. Oct 02, 2013
  7. Oct 01, 2013
    • Yang Bai's avatar
      Fix relative path of submodule · ed1fd2e1
      Yang Bai authored
      
      Fork project on github will cause submodule trying to
      fetch submodule under fork user not cloudius-system.
      
      Signed-off-by: default avatarYang Bai <hamo.by@gmail.com>
      Signed-off-by: default avatarAvi Kivity <avi@cloudius-systems.com>
      ed1fd2e1
    • Pekka Enberg's avatar
      x64: Enable sleeping in fault context · a449b889
      Pekka Enberg authored
      
      In preparation for enabling demand paging, enable sleeping in fault
      context by using a per-thread exception stack for normal faults and
      per-CPU exception stack for nested faults.
      
      Avi Kivity explains:
      
        Before [demand paging] can even hope to work, we need to enable
        sleeping in fault context.  Right now each cpu has its own exception
        stack, which leads immediately to stack corruption:
      
        thread 1 faults
        enters exception stack
        tries to take mutex
        scheduler switches to thread 2
        thread 2 faults
        enters same exception stack
      
        So we need to switch stacks.  This can be done in the same way as for
        interrupt stacks (see thread::switch_to()).
      
      Signed-off-by: default avatarPekka Enberg <penberg@cloudius-systems.com>
      Signed-off-by: default avatarAvi Kivity <avi@cloudius-systems.com>
      a449b889
Loading