contigmalloc() and mmap()

Christoph Hellwig hch at infradead.org
Mon Jun 13 19:02:28 GMT 2005


On Mon, Jun 13, 2005 at 12:55:40PM -0600, Scott Long wrote:
> >Lot's of driver use file->private to get at per-device data easily,
> >but that's just a shortcut.
> 
> Ok, I thought that you were talking about per-process data being in the
> file descriptor.

No, Linux has absolutely no concept of per-process data in driver, and
if you think of it that would be rather bogus anyway (e.g. a driver opening
the same device multiple times)



More information about the freebsd-hackers mailing list