From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756076AbaIQQKa (ORCPT ); Wed, 17 Sep 2014 12:10:30 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:51717 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755688AbaIQQKV (ORCPT ); Wed, 17 Sep 2014 12:10:21 -0400 Date: Wed, 17 Sep 2014 09:09:32 -0700 From: Greg Kroah-Hartman To: Ingo Molnar Cc: Peter Hurley , Peter Zijlstra , linux-kernel@vger.kernel.org Subject: Re: [PATCH] locking: Add WARN_ON_ONCE lock assertion Message-ID: <20140917160932.GA6613@kroah.com> References: <1410373899-4113-1-git-send-email-peter@hurleysoftware.com> <20140916080814.GA24921@gmail.com> <20140916181729.GB24456@kroah.com> <20140917123256.GE2704@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20140917123256.GE2704@gmail.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Sep 17, 2014 at 02:32:56PM +0200, Ingo Molnar wrote: > > * Greg Kroah-Hartman wrote: > > > On Tue, Sep 16, 2014 at 10:08:14AM +0200, Ingo Molnar wrote: > > > > > > * Peter Hurley wrote: > > > > > > > An interface may need to assert a lock invariant and not flood the > > > > system logs; add a lockdep helper macro equivalent to > > > > lockdep_assert_held() which only WARNs once. > > > > > > > > cc: Greg Kroah-Hartman > > > > Signed-off-by: Peter Hurley > > > > > > Acked-by: Ingo Molnar > > > > Any objection for me taking this through the TTY tree due to > > the dependancies on future tty patches that use the function in > > this patch? > > Now that the patch is correct I have no objection whatsoever, > feel free! Thanks, will do. greg k-h