190ce8645e
Don't zero the pages during each mmap. Instead, only zero the pages
when they are not already mmapped. Otherwise, the multi-process
support will be broken, as the pages will be zeroed when secondary
processes map the memory. Besides, track the open and mmap operations
on the cdev, and prevent the module from being unloaded when it is
still in use.
Fixes:
|
||
---|---|---|
.. | ||
contigmem | ||
eal | ||
nic_uio | ||
Makefile |