Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755024AbZFCGiX (ORCPT ); Wed, 3 Jun 2009 02:38:23 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751713AbZFCGiO (ORCPT ); Wed, 3 Jun 2009 02:38:14 -0400 Received: from cantor2.suse.de ([195.135.220.15]:55775 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751351AbZFCGiO (ORCPT ); Wed, 3 Jun 2009 02:38:14 -0400 Date: Wed, 3 Jun 2009 08:38:15 +0200 From: Nick Piggin To: "Eric W. Biederman" Cc: Al Viro , linux-kernel@vger.kernel.org, linux-pci@vger.kernel.org, linux-mm@kvack.org, linux-fsdevel@vger.kernel.org, Hugh Dickins , Tejun Heo , Alexey Dobriyan , Linus Torvalds , Alan Cox , Greg Kroah-Hartman , Andrew Morton , Christoph Hellwig , "Eric W. Biederman" Subject: Re: [PATCH 04/23] vfs: Introduce infrastructure for revoking a file Message-ID: <20090603063815.GE27563@wotan.suse.de> References: <1243893048-17031-4-git-send-email-ebiederm@xmission.com> <20090602071411.GE31556@wotan.suse.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.9i Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 965 Lines: 23 On Tue, Jun 02, 2009 at 03:56:02PM -0700, Eric W. Biederman wrote: > Nick Piggin writes: > > >> In addition for a complete solution we need: > >> - A reliable way the file structures that we need to revoke. > >> - To wait for but not tamper with ongoing file creation and cleanup. > >> - A guarantee that all with user space controlled duration are removed. > >> > >> The file_hotplug_lock has a very unique implementation necessitated by > >> the need to have no performance impact on existing code. Classic locking > > > > Well, it isn't no performance impact. Function calls, branches, icache > > and dcache... > > Practically none. OK that's different from none. There is obviously overhead. -- 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/