Date: Sat, 08 Dec 2001 02:20:50 -0800 From: Terry Lambert <tlambert2@mindspring.com> To: Poul-Henning Kamp <phk@critter.freebsd.dk> Cc: Dave Rufino <dr263@hermes.cam.ac.uk>, Alfred Perlstein <bright@mu.org>, freebsd-hackers@FreeBSD.ORG Subject: Re: statefulness in character device drivers Message-ID: <3C11E982.F50F2353@mindspring.com> References: <46358.1007802258@critter.freebsd.dk>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3C11E982.F50F2353>