Skip to contentSkip to conversation

Mapping non-page aligned address

DISCUSSION Vira 1 participant 1 message Feb 6, 2009 Memory management

lore
Share & tools
lore

Vira

author
#0 lore raw

Hey all,

Is there a way to map a non-page aligned kernel physical address to user virtual address? remap_pfn_range and vm_insert_page operate 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.

Thanks,
-- vira

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>