Opened 13 years ago
Closed 13 years ago
#343 closed enhancement (fixed)
Generic address translation miss handler for the kernel address space
Reported by: | Martin Decky | Owned by: | Jakub Jermář |
---|---|---|---|
Priority: | major | Milestone: | 0.5.0 |
Component: | helenos/kernel/generic | Version: | mainline |
Keywords: | Cc: | zdenek.bouska@… | |
Blocker for: | Depends on: | ||
See also: |
Description
We need a generic address translation miss handler for the kernel address space and special "locked" user address space areas (e.g. for IRQ handlers and DMA memory) which would work with atomic operations only and which would not require any locking.
Change History (3)
comment:1 by , 13 years ago
comment:2 by , 13 years ago
Cc: | added |
---|
comment:3 by , 13 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
All architectures now have some mechanism to provide the kernel identity and kernel non-identity. For identity, the mechanism varies from architecture to architecture and can range from determined by hardware, through preset in hardware-walked page tables to provided by the TLB miss handler. All kernels can handle kernel non-identity mappings, and the logic was modified not to hold the address space lock.
Initial implementation has been provided for ppc32 in mainline,981, pending review. I suggest keeping this ticket open for a while since I believe there is still space to generalize the solution for all platforms.