From owner-freebsd-hackers Sat Dec 8 2:20:55 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from harrier.prod.itd.earthlink.net (harrier.mail.pas.earthlink.net [207.217.120.12]) by hub.freebsd.org (Postfix) with ESMTP id 2102037B405 for ; Sat, 8 Dec 2001 02:20:53 -0800 (PST) Received: from pool0029.cvx22-bradley.dialup.earthlink.net ([209.179.198.29] helo=mindspring.com) by harrier.prod.itd.earthlink.net with esmtp (Exim 3.33 #1) id 16Ceb4-00069r-00; Sat, 08 Dec 2001 02:20:42 -0800 Message-ID: <3C11E982.F50F2353@mindspring.com> Date: Sat, 08 Dec 2001 02:20:50 -0800 From: Terry Lambert X-Mailer: Mozilla 4.7 [en]C-CCK-MCD {Sony} (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Poul-Henning Kamp Cc: Dave Rufino , Alfred Perlstein , freebsd-hackers@FreeBSD.ORG Subject: Re: statefulness in character device drivers References: <46358.1007802258@critter.freebsd.dk> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Poul-Henning Kamp wrote: > >> Most likely he means a per-open(2) opaque datum that is kept in > >> struct file and passed to the underlying routines. > > > >Sorry, unbelievably bad at explaining myself. Per-open data is what i > >meant. The reason I'm interested is it would make a full nvidia driver > >port quite a bit easier. > > Sorry, I know of no current plans which adress this. > > The issue is non-trivial to fix because we currently don't pass > dup(2) events through the vnode layer. Are you sure this is even necessary? They are talking about "per-open", not "per-fd-instance" data, which could easily exclude dup, dup2, and fcntl(f_DUPFD). -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message