From: Wei Liu Subject: Re: [PATCH 5/7] xenalyze: disable sched_switch_process Date: Sat, 2 May 2015 17:51:16 +0100 Message-ID: <20150502165116.GC7790@zion.uk.xensource.com> References: <1430140936-31279-1-git-send-email-olaf@aepfle.de> <1430140936-31279-6-git-send-email-olaf@aepfle.de> <20150428031616.GA23012@zion.uk.xensource.com> <20150428055844.GB19048@aepfle.de> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <20150428055844.GB19048@aepfle.de> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Olaf Hering Cc: Wei Liu , Ian Campbell , Stefano Stabellini , George Dunlap , Ian Jackson , xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org On Tue, Apr 28, 2015 at 07:58:44AM +0200, Olaf Hering wrote: > On Tue, Apr 28, Wei Liu wrote: > > > On Mon, Apr 27, 2015 at 01:22:14PM +0000, Olaf Hering wrote: > > > It causes a crash, dump data and return early > > > This doesn't look right. You skip all things below. > > Yes, to avoid the crash when booted with "tbuf_size=-1". When I noticed > that I did not have the energy to dig into how the vcpu machinery works. > Appearently it cant cope with bootup data. > Ergh... George might have an idea of the bug you met. I'm not in favour of short-circuiting code like this. If this is really necessary please either delete dead code or use #ifdef 0 with proper comment. Wei. > Olaf