12 Jan, 2011

5 commits

  • Use 'DECLARE_EVENT_CLASS' to cleanup async_pf tracepoints

    Acked-by: Gleb Natapov
    Signed-off-by: Xiao Guangrong
    Signed-off-by: Marcelo Tosatti

    Xiao Guangrong
     
  • Tracing 'async' and *pfn is useless, since 'async' is always true,
    and '*pfn' is always "fault_pfn'

    We can trace 'gva' and 'gfn' instead, it can help us to see the
    life-cycle of an async_pf

    Signed-off-by: Xiao Guangrong
    Signed-off-by: Marcelo Tosatti

    Xiao Guangrong
     
  • Add tracepoint for userspace exit.

    Signed-off-by: Gleb Natapov
    Signed-off-by: Marcelo Tosatti

    Gleb Natapov
     
  • Send async page fault to a PV guest if it accesses swapped out memory.
    Guest will choose another task to run upon receiving the fault.

    Allow async page fault injection only when guest is in user mode since
    otherwise guest may be in non-sleepable context and will not be able
    to reschedule.

    Vcpu will be halted if guest will fault on the same page again or if
    vcpu executes kernel code.

    Acked-by: Rik van Riel
    Signed-off-by: Gleb Natapov
    Signed-off-by: Marcelo Tosatti

    Gleb Natapov
     
  • If a guest accesses swapped out memory do not swap it in from vcpu thread
    context. Schedule work to do swapping and put vcpu into halted state
    instead.

    Interrupts will still be delivered to the guest and if interrupt will
    cause reschedule guest will continue to run another task.

    [avi: remove call to get_user_pages_noio(), nacked by Linus; this
    makes everything synchrnous again]

    Acked-by: Rik van Riel
    Signed-off-by: Gleb Natapov
    Signed-off-by: Marcelo Tosatti

    Gleb Natapov
     

17 May, 2010

1 commit

  • This patch does:

    - no need call tracepoint_synchronize_unregister() when kvm module
    is unloaded since ftrace can handle it

    - cleanup ftrace's macro

    Signed-off-by: Xiao Guangrong
    Signed-off-by: Avi Kivity

    Xiao Guangrong
     

01 Mar, 2010

2 commits


10 Sep, 2009

4 commits