From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754314Ab2HTLrB (ORCPT ); Mon, 20 Aug 2012 07:47:01 -0400 Received: from casper.infradead.org ([85.118.1.10]:51008 "EHLO casper.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753359Ab2HTLq7 convert rfc822-to-8bit (ORCPT ); Mon, 20 Aug 2012 07:46:59 -0400 Message-ID: <1345463210.23018.36.camel@twins> Subject: Re: lockdep trace from posix timers From: Peter Zijlstra To: Oleg Nesterov Cc: Dave Jones , Linux Kernel , Thomas Gleixner , rostedt , dhowells , Al Viro Date: Mon, 20 Aug 2012 13:46:50 +0200 In-Reply-To: <1345463081.23018.34.camel@twins> References: <20120724203613.GA9637@redhat.com> <1345140478.29668.54.camel@twins> <20120817151447.GA7918@redhat.com> <1345446957.23018.14.camel@twins> <1345463081.23018.34.camel@twins> Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7BIT X-Mailer: Evolution 3.2.2- Mime-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 2012-08-20 at 13:44 +0200, Peter Zijlstra wrote: > > I'm not at all sure how that relates to needing task_lock() in the > > keyctl stuff. Ah, is it used to serialize against exit_mm() so that the !->mm check will suffice to avoid queuing works past exit_task_work() ?