Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752021AbaF1HLX (ORCPT ); Sat, 28 Jun 2014 03:11:23 -0400 Received: from mail-wi0-f176.google.com ([209.85.212.176]:47760 "EHLO mail-wi0-f176.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751001AbaF1HLW (ORCPT ); Sat, 28 Jun 2014 03:11:22 -0400 Message-ID: <1403939478.5930.30.camel@marge.simpson.net> Subject: Re: Filesystem lockup with CONFIG_PREEMPT_RT From: Mike Galbraith To: Austin Schuh Cc: Steven Rostedt , Thomas Gleixner , Richard Weinberger , LKML , rt-users Date: Sat, 28 Jun 2014 09:11:18 +0200 In-Reply-To: References: <1403873856.5827.56.camel@marge.simpson.net> <20140627100157.6b0143a5@gandalf.local.home> <1403890493.5830.33.camel@marge.simpson.net> <20140627135415.7246e87e@gandalf.local.home> <1403892474.5830.41.camel@marge.simpson.net> <20140627141903.16817c28@gandalf.local.home> <1403926333.5113.12.camel@marge.simpson.net> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.2.3 Content-Transfer-Encoding: 7bit Mime-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 2014-06-27 at 23:20 -0700, Austin Schuh wrote: > For workqueues, as long as the helper doesn't block on a lock which > requires the work queue to be freed up, it will eventually become > unblocked and make progress. The helper _should_ only need the pool > lock, which will wake the helper back up when it is available again. > Nothing should go to sleep in an un-recoverable way with the work pool > lock held. Well, Thomas killed taking a lock from within the core of a lock, so that wart shrank back to microscopic. Applying that same ointment to the plug puller gizmo and schedule_work() would be most excellent. -Mike -- 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/