accessing memory via mmap
in my user application running on powerpc, mmap is used to allow the
application to acess
memory and pci space. one of the parameters of mmap() is the size of
the mapping.
are there any issues that i should be aware of if the mapping size is
bigger than one page,
as long as the mapping is page-size aligned?
are there issues such as caching for mapping size larger than one page?
thank you in advance...
.
Relevant Pages
- Re: sharing memory map between processes (same parent)
... | 'warm the cache' by getting the inode into memory. ... It might make a difference if the memory remained mapped to some process ... How about we take a look at the approximate steps that mmap needs to ... So, whether the mapping is transferred to a second process, or the second ... (comp.unix.programmer) - Re: doscmd under 8-stable, anyone?
... Error mapping HMA, HMA disabled:: Invalid argument ... the mmap() failure that causes the "HMA ... as it results in no valid DOS memory allocation ... MAP_FIXED request is successful, the mapping estab- ... (freebsd-stable) - Re: sharing memory map between processes (same parent)
... reference in terms of an open descriptor because the descriptor can be ... closed after mmap(), and the file is still mapped. ... | file content has been loaded into memory, and it won't be until referenced. ... | So, whether the mapping is transferred to a second process, or the second ... (comp.unix.programmer) - Re: dont let mmap allocate down to zero
... Malloc uses mmap to get more memory. ... suitable for a mapping of len bytes to the file. ... interpret an addr value of 0 as granting the implementation complete ... (Linux-Kernel) - Re: Freeing mmapped memory
... Now i want user processes to be able to access this memory using ... mmap and i want to free this memory when it is no longer needed. ... Unfortunately the mapping doesn't seem to hold a reference to the ... in the close function of my driver but the mapping is still there. ... (freebsd-hackers) |
|