From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.0 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_PASS,USER_AGENT_NEOMUTT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7449CC43219 for ; Tue, 30 Apr 2019 12:51:35 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 496962075E for ; Tue, 30 Apr 2019 12:51:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727997AbfD3Mve convert rfc822-to-8bit (ORCPT ); Tue, 30 Apr 2019 08:51:34 -0400 Received: from Galois.linutronix.de ([146.0.238.70]:46884 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726166AbfD3Mvd (ORCPT ); Tue, 30 Apr 2019 08:51:33 -0400 Received: from bigeasy by Galois.linutronix.de with local (Exim 4.80) (envelope-from ) id 1hLSEN-00075b-1f; Tue, 30 Apr 2019 14:51:31 +0200 Date: Tue, 30 Apr 2019 14:51:31 +0200 From: Sebastian Andrzej Siewior To: Peter Zijlstra Cc: linux-rt-users , LKML , Thomas Gleixner , Daniel Bristot de Oliveira , Clark Williams , Juri Lelli Subject: Re: [RT WARNING] DEBUG_LOCKS_WARN_ON(rt_mutex_owner(lock) != current) with fsfreeze (4.19.25-rt16) Message-ID: <20190430125130.uw7mhdnsoqr2v3gf@linutronix.de> References: <20190326093421.GA29508@localhost.localdomain> <20190419085627.GI4742@localhost.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8BIT In-Reply-To: <20190419085627.GI4742@localhost.localdomain> User-Agent: NeoMutt/20180716 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2019-04-19 10:56:27 [+0200], Juri Lelli wrote: > On 26/03/19 10:34, Juri Lelli wrote: > > Hi, > > > > Running this reproducer on a 4.19.25-rt16 kernel (with lock debugging > > turned on) produces warning below. > > And I now think this might lead to an actual crash. Peter, could you please take a look at the thread: https://lkml.kernel.org/r/20190419085627.GI4742@localhost.localdomain I assumed that returning to userland with acquired locks is something we did not want… Sebastian