Skip to content

Scheduler preemption hooks, #2

Avi Kivity kvm lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 6 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3SCHED: Generic hooks for trapping task preemptioninclude/linux/preempt.h include/linux/sched.h kernel/Kconfig.preempt +1 more+114 -06 replies
2/3KVM: Use the scheduler preemption hooks to make kvm preemptibledrivers/kvm/Kconfig drivers/kvm/kvm.h drivers/kvm/kvm_main.c +3 more+54 -220 replies
3/3KVM: Convert vm lock to a mutexdrivers/kvm/kvm.h drivers/kvm/kvm_main.c drivers/kvm/mmu.c +2 more+40 -400 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] Scheduler preemption hooks, #2

Changes since #2:
- better Kconfig
- documentation
- spinlock->mutex conversion from Shaohua

This patchset adds a general sceduler mechanism that allows tasks to be notified when they are preempted and scheduled back in, and converts kvm to use it. The main benefits are that the kvm mmu can now perform allocations, enabling features such as guest paging, and reducing preemption latency to a bounded value for realtime workloads.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/