Date: Thu, 29 Jun 2006 09:32:42 -0700 From: "Kip Macy" <kip.macy@gmail.com> To: "Oleksandr Tymoshenko" <gonzo@pbxpress.com> Cc: freebsd-hackers@freebsd.org, Christian Zander <czander@nvidia.com> Subject: Re: NVIDIA FreeBSD kernel feature requests Message-ID: <b1fa29170606290932m419e1dc0tf69a447daef5dde9@mail.gmail.com> In-Reply-To: <44A3FD87.8000006@pbxpress.com> References: <20060629111231.GA692@wolf.nvidia.com> <44A3FD87.8000006@pbxpress.com>
next in thread | previous in thread | raw e-mail | index | archive | help
IIRC lack of per instance cdevs also limits Freebsd to one vmware instance. -Kip On 6/29/06, Oleksandr Tymoshenko <gonzo@pbxpress.com> wrote: > Christian Zander wrote: > > Hi all, > > # Task: implement mechanism to allow character drivers to > > maintain per-open instance data (e.g. like the Linux > > kernel's 'struct file *'). > > Motivation: allows per thread NVIDIA notification delivery; also > > reduces CPU overhead for notification delivery > > from the NVIDIA kernel module to the X driver and to > > OpenGL. > > Priority: should translate to improved X/OpenGL performance. > > Status: has not been started. > I've stumbled across this issue a while ago. Actually it can > be partially solved using EVENTHANDLER_REGISTER of dev_clone event with > keeping state structure in si_drv1 or si_drv2 fields. I'm not sure it's > the best solution but it works for me though it smells like hack, and > looks like hack :) Anyway, having legitimate per-open instance data > structures of cdevs is a great assistance in porting linux drivers to > FreeBSD. Just my $0.02. > > -- > Sincerely, > > Oleksandr Tymoshenko > PBXpress Communications, Inc. > http://www.pbxpress.com > Tel./Fax.: +1 866 SIP PBX1 Ext. 656 > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org" >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?b1fa29170606290932m419e1dc0tf69a447daef5dde9>