From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756351Ab0J0ThX (ORCPT ); Wed, 27 Oct 2010 15:37:23 -0400 Received: from canuck.infradead.org ([134.117.69.58]:40461 "EHLO canuck.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756300Ab0J0ThV convert rfc822-to-8bit (ORCPT ); Wed, 27 Oct 2010 15:37:21 -0400 Subject: Re: [bisected] Clocksource tsc unstable git From: Peter Zijlstra To: markus@trippelsdorf.de Cc: john stultz , Thomas Gleixner , Borislav Petkov , "linux-kernel@vger.kernel.org" , "hpa@linux.intel.com" , Ingo Molnar , Andreas Herrmann , heiko.carstens@de.ibm.com, avi@redhat.com, mtosatti@redhat.com In-Reply-To: <20101027182608.GA1580@arch.trippelsdorf.de> References: <20101026112052.GA1672@arch.trippelsdorf.de> <20101026131843.GC17852@aftab> <20101026135808.GB1672@arch.trippelsdorf.de> <1288120736.2645.9.camel@localhost> <20101027142622.GA1555@arch.trippelsdorf.de> <20101027182608.GA1580@arch.trippelsdorf.de> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT Date: Wed, 27 Oct 2010 21:36:55 +0200 Message-ID: <1288208215.3673.16.camel@laptop> Mime-Version: 1.0 X-Mailer: Evolution 2.30.3 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 2010-10-27 at 20:26 +0200, markus@trippelsdorf.de wrote: > > 34f971f6f7988be4d014eec3e3526bee6d007ffa is the first bad commit > commit 34f971f6f7988be4d014eec3e3526bee6d007ffa > Author: Peter Zijlstra > Date: Wed Sep 22 13:53:15 2010 +0200 > > sched: Create special class for stop/migrate work > > In order to separate the stop/migrate work thread from the SCHED_FIFO > implementation, create a special class for it that is of higher priority than > SCHED_FIFO itself. > > This currently solves a problem where cpu-hotplug consumes so much cpu-time > that the SCHED_FIFO class gets throttled, but has the bandwidth replenishment > timer pending on the now dead cpu. > > It is also required for when we add the planned deadline scheduling class above > SCHED_FIFO, as the stop/migrate thread still needs to transcent those tasks. > > Tested-by: Heiko Carstens > Signed-off-by: Peter Zijlstra > LKML-Reference: <1285165776.2275.1022.camel@laptop> > Signed-off-by: Ingo Molnar > > Reverting the commit solves the kvm hang issue. > (If this issue is related to my original tsc problem is of course open for > debate, but I have a strong hunch it is.) Too weird,.. what does the hang look like? Can you generate a sysrq-t dump? The thing I'm looking for is the migration/# thread being runnable but not being current. How can I reproduce this?