From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754821AbaIPSSS (ORCPT ); Tue, 16 Sep 2014 14:18:18 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:40556 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754250AbaIPSSR (ORCPT ); Tue, 16 Sep 2014 14:18:17 -0400 Date: Tue, 16 Sep 2014 11:17:29 -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: <20140916181729.GB24456@kroah.com> References: <1410373899-4113-1-git-send-email-peter@hurleysoftware.com> <20140916080814.GA24921@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20140916080814.GA24921@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 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? thanks, greg k-h