Date: Mon, 13 Jun 2005 13:33:55 -0400 (EDT) From: Daniel Eischen <deischen@freebsd.org> To: Julian Elischer <julian@elischer.org> Cc: freebsd-hackers@freebsd.org, Apache Xie <apachexm@hotmail.com> Subject: Re: contigmalloc() and mmap() Message-ID: <Pine.GSO.4.43.0506131332380.23852-100000@sea.ntplx.net> In-Reply-To: <42ADBE21.6030007@elischer.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 13 Jun 2005, Julian Elischer wrote: > > Maybe I don't understand the problem but.. > > I think the problem is that you want to keep a separate buffer for each > user, ] > while the drivers you are looking at expect to have only one buffer per > device. > > One answer to this would be to make each user open a different 'instance' > of the device. (i.e. a differnt minor number). otherwise there is no > really good place to store the information. > The device does not track users as such and even if it did, how would it > track when a user process forks and becomes 2? it is not notified of this > event. Is he looking for something like this in FreeBSD? http://docs.sun.com/app/docs/doc/802-5900/6i9kj7or8?a=view -- DE
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.4.43.0506131332380.23852-100000>