Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754768AbZDVPcn (ORCPT ); Wed, 22 Apr 2009 11:32:43 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753225AbZDVPcb (ORCPT ); Wed, 22 Apr 2009 11:32:31 -0400 Received: from earthlight.etchedpixels.co.uk ([81.2.110.250]:47905 "EHLO www.etchedpixels.co.uk" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753313AbZDVPca (ORCPT ); Wed, 22 Apr 2009 11:32:30 -0400 Date: Wed, 22 Apr 2009 16:33:36 +0100 From: Alan Cox To: Igor Zhbanov Cc: linux-kernel@vger.kernel.org Subject: Re: Idea: Feature information / extensions dispatcher syscall. Message-ID: <20090422163336.2054409b@lxorguk.ukuu.org.uk> In-Reply-To: References: <871vrkpyae.fsf@basil.nowhere.org> <20090422161257.2743ea33@lxorguk.ukuu.org.uk> X-Mailer: Claws Mail 3.7.0 (GTK+ 2.14.7; x86_64-redhat-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 659 Lines: 15 > Yes, you need a file handle. To open device each time you need to make ioctl > is expensive and keeping device opened may prevent unmounting /proc > that could be a problem in some installations if that application is used > at a boot time. - Nobody in the real world unmounts /proc. - You don't need to use /proc anyway - You don't need to open the device each ioctl - Even if you did open is extremely quick -- 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/