Opened 13 years ago
Closed 13 years ago
#329 closed enhancement (invalid)
amd64 needs to be able to detect page misses caused by executing incorrect pseudocode
Reported by: | Jakub Jermář | Owned by: | Jakub Jermář |
---|---|---|---|
Priority: | major | Milestone: | 0.5.0 |
Component: | helenos/kernel/amd64 | Version: | |
Keywords: | Cc: | ||
Blocker for: | Depends on: | ||
See also: |
Description
The amd64 kernel needs to be able to handle page faults caused by processing IRQ pseudocode. Note that if the pseudocode is correct, it is not expected to cause a page fault on amd64 so the only case we need to handle is when the pseudocode is not correct. Thus getting to a page fault handler on amd64 while processing IRQ pseudocode is a reason to panic the system or, if running in the context of the pseudocode owner task, kill the current task.
Also note that a failure to detect this situation will result in hitting an assertion and panicking anyway as soon as as_page_fault() attempts to lock a mutex.
Change History (3)
comment:1 by , 13 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:2 by , 13 years ago
Resolution: | fixed |
---|---|
Status: | closed → reopened |
comment:3 by , 13 years ago
Resolution: | → invalid |
---|---|
Status: | reopened → closed |
Not applicable in current kernel which maps all the physical addresses used by the pseudocode.