Fork us on GitHub Follow us on Facebook Follow us on Twitter

Opened 11 years ago

Last modified 5 years ago

#421 new defect

Non-anomymous DMA allocation needs to trigger on-demand mapping

Reported by: Martin Decky Owned by: Martin Decky
Priority: major Milestone:
Component: helenos/kernel/generic Version: mainline
Keywords: Cc:
Blocker for: Depends on:
See also:


The current mainline implementation of non-anonymous DMA mapping is very rudimentary. The current code basically only looks up a physical translation of the given virtual address

As the kernel uses on-demand mapping, if the uspace supplies a memory address to SYS_DMAMEM_MAP which has not been touched yet after its mapping into the address space, the translation fails (as the on-demand page mapping has not been established yet).

The implementation would basically need to trigger the on-demand mapping.

Change History (3)

comment:1 Changed 11 years ago by Jakub Jermář


comment:2 Changed 9 years ago by Jakub Jermář


comment:3 Changed 5 years ago by Jakub Jermář

Milestone: 0.7.1
Note: See TracTickets for help on using tickets.