Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752197AbaF0RyT (ORCPT ); Fri, 27 Jun 2014 13:54:19 -0400 Received: from cdptpa-outbound-snat.email.rr.com ([107.14.166.230]:27387 "EHLO cdptpa-oedge-vip.email.rr.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751616AbaF0RyS (ORCPT ); Fri, 27 Jun 2014 13:54:18 -0400 Date: Fri, 27 Jun 2014 13:54:15 -0400 From: Steven Rostedt To: Mike Galbraith Cc: Austin Schuh , Thomas Gleixner , Richard Weinberger , LKML , rt-users Subject: Re: Filesystem lockup with CONFIG_PREEMPT_RT Message-ID: <20140627135415.7246e87e@gandalf.local.home> In-Reply-To: <1403890493.5830.33.camel@marge.simpson.net> References: <1403873856.5827.56.camel@marge.simpson.net> <20140627100157.6b0143a5@gandalf.local.home> <1403890493.5830.33.camel@marge.simpson.net> X-Mailer: Claws Mail 3.9.3 (GTK+ 2.24.23; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-RR-Connecting-IP: 107.14.168.142:25 X-Cloudmark-Score: 0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 27 Jun 2014 19:34:53 +0200 Mike Galbraith wrote: > On Fri, 2014-06-27 at 10:01 -0400, Steven Rostedt wrote: > > > This seems like a lot of hacks. > > It is exactly that, lacking proper pooper-scooper, show rt kernel how to > not step in it. > > > I'm wondering if it would work if we > > just have the rt_spin_lock_slowlock not call schedule(), but call > > __schedule() directly. I mean it would keep with the mainline paradigm > > as spinlocks don't sleep there, and one going to sleep in the -rt > > kernel is similar to it being preempted by a very long NMI. > > Problem being that we do sleep there, do need wakeup. I have a hack > that turns them back into spinning locks, but it.. works too :) Why do we need the wakeup? the owner of the lock should wake it up shouldn't it? -- Steve -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/