Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753371Ab2KTCXe (ORCPT ); Mon, 19 Nov 2012 21:23:34 -0500 Received: from tundra.namei.org ([65.99.196.166]:51361 "EHLO tundra.namei.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753120Ab2KTCXc (ORCPT ); Mon, 19 Nov 2012 21:23:32 -0500 Date: Tue, 20 Nov 2012 13:23:55 +1100 (EST) From: James Morris To: Kees Cook cc: linux-kernel@vger.kernel.org, James Morris , John Johansen , "Serge E. Hallyn" , Eric Paris , linux-security-module@vger.kernel.org Subject: Re: [PATCH] Yama: remove locking from delete path In-Reply-To: <20121119233459.GA9524@www.outflux.net> Message-ID: References: <20121119233459.GA9524@www.outflux.net> User-Agent: Alpine 2.02 (LRH 1266 2009-07-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 715 Lines: 22 On Mon, 19 Nov 2012, Kees Cook wrote: > Instead of locking the list during a delete, mark entries as invalid > and trigger a workqueue to clean them up. This lets us easily handle > task_free from interrupt context. > > Cc: Sasha Levin > Signed-off-by: Kees Cook This doesn't apply cleanly to my -next branch. Kees: can you think about using git to push changes to me for Yama? -- James Morris -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/