Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Default to mmap'ed provided buffers for hppa
Architectures like parisc cannot guarantee that the kernel and userspace virtual address map to the same cache color, when we have the application allocate the ring and then the kernel mapping it. Add a helper to use the buffer ring registration that has the kernel allocate the memory, and then have the application mmap(2) it. With that, we can have mmap pick an appropriate virtual address that so we avoid any coloring mismatches. Signed-off-by: Jens Axboe <axboe@kernel.dk>
- Loading branch information
Showing
2 changed files
with
72 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters