From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: [PATCH] Add need_resched check before go to kvm_resched Date: Thu, 26 Apr 2007 07:41:38 +0300 Message-ID: <46302D82.9050907@qumranet.com> References: <10EA09EFD8728347A513008B6B0DA77A01599F54@pdsmsx411.ccr.corp.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: kvm-devel To: "Dong, Eddie" Return-path: In-reply-to: <10EA09EFD8728347A513008B6B0DA77A01599F54-wq7ZOvIWXbNpB2pF5aRoyrfspsVTdybXVpNB7YpNyf8@public.gmane.org> 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 Dong, Eddie wrote: > Actually I am thinking to totally give up kvm_resched and just let > control return to Qemu which is much clean and provide Qemu > more chance to handle some kind of hardware event such as network > packet arrive etc. Today Qemu is totally depending on heavyweight VM > Exit > to handle those events and virtual IRQ injections which may be not > sufficient. > Qemu needing service is indicated by the signal_pending() check. All I/O sources are set to send a signal when service is needed. -- Do not meddle in the internals of kernels, for they are subtle and quick to panic. ------------------------------------------------------------------------- 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/