From mboxrd@z Thu Jan 1 00:00:00 1970 From: khalasa@piap.pl (Krzysztof =?utf-8?Q?Ha=C5=82asa?=) Date: Fri, 03 Jan 2014 07:05:14 +0100 Subject: [PATCH 2/2] sched_clock: Disable seqlock lockdep usage in sched_clock In-Reply-To: <1388704274-5278-2-git-send-email-john.stultz@linaro.org> (John Stultz's message of "Thu, 2 Jan 2014 15:11:14 -0800") References: <52C5E675.80701@linaro.org> <1388704274-5278-1-git-send-email-john.stultz@linaro.org> <1388704274-5278-2-git-send-email-john.stultz@linaro.org> Message-ID: To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org John Stultz writes: > Unforunately the seqlock lockdep enablmenet can't be used > in sched_clock, since the lockdep infrastructure eventually > calls into sched_clock, which causes a deadlock. > > Thus, this patch changes all generic sched_clock usage > to use the raw_* methods. These two patches fix the problem. Thanks to all involved. -- Krzysztof Halasa Research Institute for Automation and Measurements PIAP Al. Jerozolimskie 202, 02-486 Warsaw, Poland From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751278AbaACGFS (ORCPT ); Fri, 3 Jan 2014 01:05:18 -0500 Received: from ni.piap.pl ([195.187.100.4]:46349 "EHLO ni.piap.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751105AbaACGFQ (ORCPT ); Fri, 3 Jan 2014 01:05:16 -0500 From: khalasa@piap.pl (Krzysztof =?utf-8?Q?Ha=C5=82asa?=) To: John Stultz Cc: LKML , Uwe =?utf-8?Q?Kleine-K=C3=B6nig?= , Willy Tarreau , Ingo Molnar , Peter Zijlstra , Stephen Boyd , Linus Torvalds , linux-arm-kernel@lists.infradead.org References: <52C5E675.80701@linaro.org> <1388704274-5278-1-git-send-email-john.stultz@linaro.org> <1388704274-5278-2-git-send-email-john.stultz@linaro.org> Date: Fri, 03 Jan 2014 07:05:14 +0100 In-Reply-To: <1388704274-5278-2-git-send-email-john.stultz@linaro.org> (John Stultz's message of "Thu, 2 Jan 2014 15:11:14 -0800") MIME-Version: 1.0 Message-ID: Content-Type: text/plain Subject: Re: [PATCH 2/2] sched_clock: Disable seqlock lockdep usage in sched_clock X-Anti-Virus: Kaspersky Anti-Virus for Linux Mail Server 5.6.44/RELEASE, bases: 20140103 #7232212, check: 20140103 clean Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org John Stultz writes: > Unforunately the seqlock lockdep enablmenet can't be used > in sched_clock, since the lockdep infrastructure eventually > calls into sched_clock, which causes a deadlock. > > Thus, this patch changes all generic sched_clock usage > to use the raw_* methods. These two patches fix the problem. Thanks to all involved. -- Krzysztof Halasa Research Institute for Automation and Measurements PIAP Al. Jerozolimskie 202, 02-486 Warsaw, Poland