Mapping non-page aligned data to user
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 9 lines · Vira
Is there a way to map a non-page aligned kernel physical address to user virtual address?
remap_pfn_rangeandvm_insert_pageoperate only on page-aligned physical addresses.If there is no such support, would it be too complicated to try out writing something on my own to map non-page aligned addresses (the data size is under my control - so I can make that a multiple of page size)?
Any suggestions appreciated.
It can only be done using segmented memory, and you don't want that.