contigmalloc() and mmap()

Scott Long scottl at samsco.org
Mon Jun 13 19:17:13 GMT 2005


Christoph Hellwig wrote:

> 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)
> 

Hence why I was confused and asking you about it.  Thanks =-)

Scott


More information about the freebsd-hackers mailing list