From: Avi Kivity Subject: [PATCH 0/2][RFC] Scheduler preemption hooks, #2 Date: Wed, 11 Jul 2007 18:55:31 +0300 Message-ID: <11841693332609-git-send-email-avi@qumranet.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Return-path: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Errors-To: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Id: kvm.vger.kernel.org I redid the the scheduler preemption patches based on Rusty's feedback. Things do look much cleaner this time around. Changes: - split into core and kvm parts - incorporated Shaohua Li's fix - each task now has a list of independently managed preemption hooks - move preempt hook pointer to a hot cache line within task_struct I haven't made kernel_fpu_begin()/kernel_fpu_end() preemptible as promised, because (a) we need to find a place to put the fpu state, and (b) we should get better performance by reusing cr0.ts anyway. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/